diff options
| author | krolxon <krolyxon@tutanota.com> | 2025-08-16 20:55:22 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2025-08-16 20:55:22 +0530 |
| commit | 77e9bf014127dfd27c53a82a701ced071bbf9e31 (patch) | |
| tree | 096acb87022f8cc0792f51dbe9ee717542c4fedd /.config/nsxiv | |
| parent | f3bdd21020b8e618433a06c1efc1cc665cb6839d (diff) | |
add foot, yazi
Diffstat (limited to '.config/nsxiv')
| -rwxr-xr-x | .config/nsxiv/exec/key-handler | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/nsxiv/exec/key-handler b/.config/nsxiv/exec/key-handler new file mode 100755 index 0000000..491b894 --- /dev/null +++ b/.config/nsxiv/exec/key-handler @@ -0,0 +1,11 @@ +#!/bin/sh + +while read file +do + case "$1" in + "d") + [ "$(printf "No\\nYes" | dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;; + "w") setwall -p $file;; + "c") cat "$file" | xclip -sel c -t image/png && notify-send "$file Copied ";; + esac +done |
