diff --git a/pkgs/default.nix b/pkgs/default.nix index 19f2434..1cf89c4 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -38,11 +38,12 @@ self: super: copy = super.writeScriptBin "copy" '' function clean() { sleep 10 - echo cleaning + ${super.libnotify}/bin/notify-send -u low 'Clipboard cleaned' ${super.xclip}/bin/xclip -sel clipboard -i /dev/null } ${super.xclip}/bin/xclip -sel clipboard < /dev/stdin + ${super.libnotify}/bin/notify-send -u low -t 10000 'Clipboard set' clean & '';