summaryrefslogtreecommitdiff
path: root/.config/sxiv/exec/key-handler
blob: 5ca4443357855caa19e8e6f47e3e5bd1b034bb10 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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-w") xwallpaper --maximize "$file" ;;
    esac
done