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