switch to nsxiv

This commit is contained in:
krolyxon 2023-02-11 11:13:21 +05:30
parent c30799526a
commit 08b82e766a
1 changed files with 11 additions and 0 deletions

11
.config/nsxiv/exec/key-handler Executable file
View File

@ -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") genwall $file;;
"c") cat "$file" | xclip -sel c -t image/png && notify-send "$file Copied ";;
esac
done