diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-11-08 20:48:58 +0000 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-11-08 20:48:58 +0000 |
commit | c2fbc4d1717864a0055592e0b73d71c010e8686c (patch) | |
tree | 76e5bf50cc0f9c1b83f474740a8015d7f4e0ef26 /.config/imv | |
parent | b9d24b3b6bdaed04fab07d9150c51d4f0f7a5c7d (diff) |
Initial commit
Diffstat (limited to '.config/imv')
-rw-r--r-- | .config/imv/config | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/.config/imv/config b/.config/imv/config new file mode 100644 index 0000000..f870741 --- /dev/null +++ b/.config/imv/config @@ -0,0 +1,65 @@ +# Default config for imv + +[options] + +# Suppress built-in key bindings, and specify them explicitly in this +# config file. +suppress_default_binds = true +overlay_font = GoMono Nerd Font:10 + +[aliases] +# Define aliases here. Any arguments passed to an alias are appended to the +# command. +# alias = command to run + +[binds] +# Define some key bindings +q = quit +y = exec echo working! + +# Image navigation +<Left> = prev +<bracketleft> = prev +<Right> = next +<bracketright> = next +gg = goto 1 +<Shift+G> = goto -1 + +# Panning +j = pan 0 -50 +k = pan 0 50 +h = pan 50 0 +l = pan -50 0 + +# Zooming +<Up> = zoom 1 +<Shift+plus> = zoom 1 +i = zoom 1 +<Down> = zoom -1 +<minus> = zoom -1 +o = zoom -1 + +# Rotate Clockwise by 90 degrees +<Ctrl+r> = rotate by 90 + +# Other commands +x = close +f = fullscreen +d = overlay +p = exec echo $imv_current_file +c = center +s = scaling next +<Shift+S> = upscaling next +a = zoom actual +r = reset + +# Gif playback +<period> = next_frame +<space> = toggle_playing + +# Slideshow control +t = slideshow +1 +<Shift+T> = slideshow -1 + +# Set image as wallpaper for Sway +<Shift+W> = exec cp -f "$imv_current_file" ~/.cache/wallpaper && swaymsg output "*" background ~/.cache/wallpaper fill |