summaryrefslogtreecommitdiff
path: root/home/xyz/.config/nsxiv
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-10-11 02:13:38 -0700
committerxyz <gky44px1999@gmail.com>2022-10-11 02:13:38 -0700
commitd88dd01df70d219e08aa50dd227e0e6d203dc7d9 (patch)
treeaa45dc9d73fc01946eab572957e57129b30c2555 /home/xyz/.config/nsxiv
parent063b303194c89fd1a8ad0dede9183486e9e13bfe (diff)
nsxiv key-hanlder, less no -F
Diffstat (limited to 'home/xyz/.config/nsxiv')
-rwxr-xr-xhome/xyz/.config/nsxiv/exec/key-handler2
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 ;;