home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5b37050b04c48038a7dbb3afb4d9aff72e5da58c
parent f2f715ac20898056c2467d4bc6b0232a6f68caa6
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 15 Apr 2019 16:00:59 +0200

profiles.desktop: pbcopy/pbpaste aliases

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmodules/profiles/desktop.nix | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/modules/profiles/desktop.nix b/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; + }; }; }