aurora.confignsxivexeckey-handler
| 1 | #!/bin/sh |
| 2 | |
| 3 | while read file |
| 4 | do |
| 5 | case "$1" in |
| 6 | "d") |
| 7 | [ "$(printf "No\\nYes" | dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;; |
| 8 | "w") setwall -p $(realpath $file);; |
| 9 | "c") cat "$file" | xclip -sel c -t image/png && notify-send "$file Copied ";; |
| 10 | esac |
| 11 | done |