summaryrefslogtreecommitdiff
path: root/sxiv/.config
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2020-10-10 22:56:00 +0100
committerrafa_99 <rafa99@protonmail.com>2020-10-10 22:56:00 +0100
commitfd1f1013e3335bdddb6aed705c6819f9dc010fad (patch)
tree6f39fe30aeae3128e5ed78d39f2d9bdd54b46b45 /sxiv/.config
parentc3a2aadbc427ddeaf18dd3ce5b4e00f718025f13 (diff)
Dots Upgrade to use GNU Stow Organization
Diffstat (limited to 'sxiv/.config')
-rwxr-xr-xsxiv/.config/sxiv/exec/key-handler11
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