From eaa67ad10026ab70fc0036af5ebfc21c932d7b31 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Mon, 16 May 2022 19:49:07 -0400 Subject: [PATCH] sxiv: Add key-handler --- src/.config/sxiv/exec/key-handler | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 src/.config/sxiv/exec/key-handler diff --git a/src/.config/sxiv/exec/key-handler b/src/.config/sxiv/exec/key-handler new file mode 100755 index 0000000..fe300a3 --- /dev/null +++ b/src/.config/sxiv/exec/key-handler @@ -0,0 +1,8 @@ +#!/bin/sh +while read -r file +do + case "$1" in + "d") mv $file ~/ ;; + "m") mv $file sta/ ;; + esac +done