diff options
author | xyz <gky44px1999@gmail.com> | 2022-10-11 02:13:38 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-10-11 02:13:38 -0700 |
commit | d88dd01df70d219e08aa50dd227e0e6d203dc7d9 (patch) | |
tree | aa45dc9d73fc01946eab572957e57129b30c2555 /home/xyz/.config/nsxiv | |
parent | 063b303194c89fd1a8ad0dede9183486e9e13bfe (diff) |
nsxiv key-hanlder, less no -F
Diffstat (limited to 'home/xyz/.config/nsxiv')
-rwxr-xr-x | home/xyz/.config/nsxiv/exec/key-handler | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.config/nsxiv/exec/key-handler b/home/xyz/.config/nsxiv/exec/key-handler index 7da51dd8..6e998654 100755 --- a/home/xyz/.config/nsxiv/exec/key-handler +++ b/home/xyz/.config/nsxiv/exec/key-handler @@ -62,7 +62,7 @@ linkwall() { # because it can pipe multiple files to one command? case "$1" in "d") [ "$(printf 'No\nYes' | dmenu -i -p 'delete?')" = "Yes" ] && tr '\n' '\0' | xargs -0 rm ;; - "e") while read -r file; do alacritty -e sh -c "exiv2 pr -q -pa '$file' | less" & done ;; + "e") while read -r file; do alacritty -e sh -c "exiv2 pr -q -pa '$file' | LESS='$LESS-+F' '$PAGER'" & done ;; "f") flip vertical ;; "F") flip horizontal ;; "g") tr '\n' '\0' | xargs -0 setsid -f gimp ;; |