summaryrefslogtreecommitdiff
path: root/.config/sxiv
diff options
context:
space:
mode:
Diffstat (limited to '.config/sxiv')
-rwxr-xr-x.config/sxiv/exec/key-handler5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
index 5ca4443..981eb8e 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -1,10 +1,11 @@
#!/usr/bin/env bash
-while read file
+while read -r file
do
case "$1" in
- "C-d") trash-put "$file" ;;
+ "C-d") rm "$file" ;;
"C-c") cat "$file" | xclip -sel c -t image/png ;;
"C-w") xwallpaper --maximize "$file" ;;
+ "C-z") mv "$file" /media/hdd/pics/wallpaper/
esac
done