diff options
author | rafa_99 <rafa99@protonmail.com> | 2020-10-10 22:56:00 +0100 |
---|---|---|
committer | rafa_99 <rafa99@protonmail.com> | 2020-10-10 22:56:00 +0100 |
commit | fd1f1013e3335bdddb6aed705c6819f9dc010fad (patch) | |
tree | 6f39fe30aeae3128e5ed78d39f2d9bdd54b46b45 /sxiv/.config | |
parent | c3a2aadbc427ddeaf18dd3ce5b4e00f718025f13 (diff) |
Dots Upgrade to use GNU Stow Organization
Diffstat (limited to 'sxiv/.config')
-rwxr-xr-x | sxiv/.config/sxiv/exec/key-handler | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sxiv/.config/sxiv/exec/key-handler b/sxiv/.config/sxiv/exec/key-handler new file mode 100755 index 0000000..4dbf761 --- /dev/null +++ b/sxiv/.config/sxiv/exec/key-handler @@ -0,0 +1,11 @@ +#!/bin/sh +while read -r FILE +do + case "$1" in + "d") + rm -rf "$FILE" + ;; + "w") + printf "$FILE" | xclip -selection clipboard + esac +done |