summaryrefslogtreecommitdiff
path: root/.config/sxiv/exec/key-handler
blob: 6e6639ef7f4d85697b3d05f44cf18c1883e61599 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash

while read file
do
    case "$1" in
        "C-d") trash-put "$file" ;;
        "C-c") cat "$file" | xclip -sel c -t image/png ;;
        "C-r") mv "$file" ../Random ;;
        "C-w") xwallpaper --zoom "$file" ;;
    esac
done