From cf3eefda31e98d4725a64000861a388ba7708c62 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 21 Jul 2021 15:53:52 +0300 Subject: feat!: move to GNU Stow, remove wiki --- sxiv/.config/sxiv/exec/key-handler | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 sxiv/.config/sxiv/exec/key-handler (limited to 'sxiv') diff --git a/sxiv/.config/sxiv/exec/key-handler b/sxiv/.config/sxiv/exec/key-handler new file mode 100755 index 0000000..443916d --- /dev/null +++ b/sxiv/.config/sxiv/exec/key-handler @@ -0,0 +1,15 @@ +#!/bin/sh + +while read file +do + case "$1" in + "C-d") + mv "$file" ~/.trash ;; + "C-r") + convert -rotate 90 "$file" "$file" ;; + "C-c") + echo -n "$file" | xclip -selection clipboard ;; + "C-w") + xwallpaper --zoom "$file" ;; + esac +done -- cgit v1.2.3