summaryrefslogtreecommitdiff
path: root/.config/nsxiv/exec/key-handler
blob: 78742cbc033ef5a5778364eaa222e2b2d63a0461 (plain)
1
2
3
4
5
6
7
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