1
0
mirror of https://codeberg.org/vyivel/dulcepan/ synced 2025-03-12 02:39:16 +02:00
dulcepan/dulcepan.cfg
Kirill Primak 9879f3ad69 config: allow to bind multiple keys to the same action
Allows for both Space and Enter to save the selection, for example.
2025-01-31 23:09:41 +03:00

47 lines
1.3 KiB
INI

# An example configuration.
# RRGGBB or RRGGBBAA
unselected-color = ffffff40
selected-color = 00000000
border-color = ffffff
border-secondary-color = 000000
# 0 to disable borders
border-size = 2
# Border gradient type:
# - none: only the primary border color is used
# - linear: uses a linear gradient relative to the selection
# - loop: uses a repeated linear gradient
border-gradient = none
# For "linear" gradient mode
# Counterclockwise, in degrees
gradient-angle = 45
# For "loop" gradient mode
# The distance between gradient stops
loop-step = 100
# For "linear" and "loop" gradient modes
# In milliseconds, 0 to disable animation
# With "linear" mode: the time it takes for the pattern to make one full turn
# With "loop" mode: the time it takes for the pattern to move by double the loop step
animation-duration = 0
# If true, dulcepan will save immediately when interactive selection is stopped
# or when a whole output is selected with a mouse button.
quick-select = false
# If true, dulcepan will remember selection between runs.
# The state is stored at $XDG_CACHE_HOME/dulcepan.
persistence = true
# PNG (zlib) compression level, 0-9
png-compression = 6
# Key bindings. Each binding is a comma-separated list of key names; empty names
# are ignored. A binding may be empty.
quit-key = Escape
save-key = Space,Enter