From d88dd01df70d219e08aa50dd227e0e6d203dc7d9 Mon Sep 17 00:00:00 2001 From: xyz Date: Tue, 11 Oct 2022 02:13:38 -0700 Subject: nsxiv key-hanlder, less no -F --- home/xyz/.config/nsxiv/exec/key-handler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/xyz/.config/nsxiv') 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 ;; -- cgit v1.2.3-70-g09d2