diff options
author | eug-vs <eug-vs@keemail.me> | 2021-07-21 15:53:52 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-07-21 16:04:10 +0300 |
commit | cf3eefda31e98d4725a64000861a388ba7708c62 (patch) | |
tree | 7e0028cede47398c74056c92af30c515bc8f9579 /sxiv/.config | |
parent | 26d393eacb0468edeed62befe365c1ae0752a680 (diff) | |
download | dotfiles-cf3eefda31e98d4725a64000861a388ba7708c62.tar.gz |
feat!: move to GNU Stow, remove wikifeat/stow
Diffstat (limited to 'sxiv/.config')
-rwxr-xr-x | sxiv/.config/sxiv/exec/key-handler | 15 |
1 files changed, 15 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..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 |