Commit 5b37050b04c4

Vincent Demeester <vincent@sbr.pm>
2019-04-15 16:00:59
profiles.desktop: pbcopy/pbpaste aliases
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent f2f715a
Changed files (1)
modules
profiles
modules/profiles/desktop.nix
@@ -117,5 +117,19 @@ in
       xdg_utils
       xsel
     ];
+    home.file."bin/pbcopy" = {
+      text = ''
+      #!${pkgs.stdenv.shell}
+      ${pkgs.xsel}/bin/xsel --clipboard --input
+      '';
+      executable = true;
+    };
+    home.file."bin/pbpaste" = {
+      text = ''
+      #!${pkgs.stdenv.shell}
+      ${pkgs.xsel}/bin/xsel --clipboard --output
+      '';
+      executable = true;
+    };
   };
 }