From fc2884ecd745724c984717687828210d9f1efaae Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sat, 8 Apr 2023 03:43:30 +0530 Subject: .config: imv config --- .config/imv/config | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .config/imv/config diff --git a/.config/imv/config b/.config/imv/config new file mode 100644 index 0000000..8e0b97e --- /dev/null +++ b/.config/imv/config @@ -0,0 +1,43 @@ +[binds] +q = quit + +# Image Navigation + = prev +

= prev + = next + = next +gg = goto 1 + = goto -1 + +# Panning +j = pan 0 -50 +k = pan 0 50 +h = pan 50 0 +l = pan -50 0 + +# Zooming + = zoom 1 + = zoom 1 + = zoom -1 + = zoom -1 + + = rotate by 90 + = rotate by 270 + +# Other commands +x = close +f = fullscreen +d = overlay +a = zoom actual +r = reset + + = wl-copy < "imv_current_file" + = convert $file -channel RGB -negate /tmp/output.png && imv /tmp/output.png +# Delete and then close an open image by pressing 'X' + = exec trash-put "$imv_current_file" + +# Rotate the currently open image by 90 degrees by pressing 'R' +# = exec mogrify -rotate 90 "$imv_current_file" + +# Use dmenu as a prompt for tagging the current image +#u = exec echo "$imv_current_file" >> ~/tags/$(ls ~/tags | dmenu -p "tag") -- cgit v1.2.3