Update pbcopy/paste
This commit is contained in:
parent
c7cc8f9516
commit
e17341a42f
2 changed files with 5 additions and 5 deletions
|
@ -68,10 +68,10 @@ with lib;
|
|||
|
||||
# Mimic the clipboard stuff in MacOS
|
||||
(pkgs.writeShellScriptBin "pbcopy" ''
|
||||
exec ${pkgs.wl-clipboard}/bin/wl-copy
|
||||
exec ${pkgs.wl-clipboard}/bin/wl-copy "$@"
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "pbpaste" ''
|
||||
exec ${pkgs.wl-clipboard}/bin/wl-paste -n
|
||||
exec ${pkgs.wl-clipboard}/bin/wl-paste "$@"
|
||||
'')
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue