summaryrefslogtreecommitdiff
path: root/nsxiv/exec
diff options
context:
space:
mode:
Diffstat (limited to 'nsxiv/exec')
-rwxr-xr-xnsxiv/exec/key-handler9
1 files changed, 9 insertions, 0 deletions
diff --git a/nsxiv/exec/key-handler b/nsxiv/exec/key-handler
new file mode 100755
index 0000000..3db850a
--- /dev/null
+++ b/nsxiv/exec/key-handler
@@ -0,0 +1,9 @@
+#!/bin/sh
+while read file; do
+ case "$1" in
+ "w")
+ cp "$file" ~/background.jpg
+ t -r hyprpaper
+ ;;
+ esac
+done