dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 2dfc500d8ec5adfeb9b7aa65fd59a3b0aa90f619
parent 08df2fa806fbcb3fc542cfa4e37ef9403c2e3433
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sat,  7 Dec 2019 08:29:16 +0100

Add "open"-with shortcut

Diffstat:
M.config/sxiv/exec/key-handler | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler @@ -28,6 +28,9 @@ while read -r file; do cp "$file" "$destdir" notify-send -i "$fullpath" "$file moved to $destdir." & ;; + "o") + opener=$(echo | dmenu -p "Open with:") + nohup $opener "$file" >/dev/null 2>/dev/null &;; "r") convert -rotate 90 "$file" "$file" ;;