Update pbcopy/paste

This commit is contained in:
Natsu Kagami 2024-04-26 13:16:10 -04:00
parent c7cc8f9516
commit e17341a42f
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 5 additions and 5 deletions

View file

@ -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 "$@"
'')
];