73 lines
1.5 KiB
INI
73 lines
1.5 KiB
INI
# vi: set ft=dosini :
|
|
|
|
# Default config for imv
|
|
|
|
[options]
|
|
|
|
# Suppress built-in key bindings, and specify them explicitly in this
|
|
# config file.
|
|
suppress_default_binds = true
|
|
|
|
scaling_mode = none
|
|
|
|
background = 1F1F21
|
|
|
|
title_text = $(xdotool getactivewindow set_window --name "[ $imv_current_index / $imv_file_count ] : $(echo "${PWD##*/}")"; echo "$imv_current_index" > ~/.cache/imv/$(echo $PWD | base64 -w0) )
|
|
|
|
initial_pan = 0 0
|
|
|
|
[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
|
|
gg = goto 0
|
|
<Shift+G> = goto -1
|
|
h = prev
|
|
l = next
|
|
|
|
# Panning
|
|
j = pan 0 -50
|
|
k = pan 0 50
|
|
<Left> = pan 50 0
|
|
<Right> = pan -50 0
|
|
|
|
# Zooming
|
|
<Up> = zoom 1
|
|
<Shift+plus> = zoom 1
|
|
i = zoom 1
|
|
<Down> = zoom -1
|
|
<minus> = zoom -1
|
|
o = zoom -1
|
|
|
|
# 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
|
|
w = exec wal -i "$imv_current_file" -o "bspwmrc"
|
|
|
|
# Rotate the currently open image by 90 degrees by pressing 'R'
|
|
<Shift+R> = exec mogrify -rotate 90 "$imv_current_file"
|
|
|
|
# Gif playback
|
|
<period> = next_frame
|
|
<space> = toggle_playing
|
|
|
|
# Slideshow control
|
|
#t = slideshow +1
|
|
#<Shift+T> = slideshow -1
|
|
|
|
# Use dmenu as a prompt for tagging the current image
|
|
m = exec echo "$imv_current_file" >> ~/tags/$(ls ~/tags | rofi -dmenu -fullscreen -p " tags: ")
|