diff options
Diffstat (limited to '.config/nsxiv')
-rwxr-xr-x | .config/nsxiv/exec/key-handler | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nsxiv/exec/key-handler b/.config/nsxiv/exec/key-handler new file mode 100755 index 0000000..78742cb --- /dev/null +++ b/.config/nsxiv/exec/key-handler @@ -0,0 +1,8 @@ +#!/bin/sh + +while IFS= read -r file; do + case "$1" in + C-c) xclip -sel clip -t image/png <"$file" ;; + C-w) xwallpaper --zoom "$file" ;; + esac +done |