1
0
Fork 0

feat(swayimg): QoL things

This commit is contained in:
Oliver Ladner 2026-03-01 14:15:45 +01:00
commit 501d6b90f5

View file

@ -28,7 +28,8 @@ app_id = swayimg
################################################################################
[viewer]
# Window background color (auto/extend/mirror/RGBA)
window = #00000000
# window = #00000000
window = #58228add
# Background for transparent images (grid/RGBA)
transparency = grid
# Default image scale (optimal/width/height/fit/fill/real/keep)
@ -68,7 +69,7 @@ antialiasing = mks13
# Height and width of each thumbnail (pixels)
size = 200
# Max number of invisible thumbnails stored in memory cache
cache = 500
cache = 2000
# Load not only visible but also adjacent thumbnails
preload = yes
# Enable/disable storing thumbnails in persistent storage (yes/no)
@ -76,7 +77,8 @@ pstore = yes
# Fill the entire tile with thumbnail (yes/no)
fill = yes
# Anti-aliasing mode for thumbnails (none/box/bilinear/bicubic/mks13)
antialiasing = mks13
# antialiasing = mks13
antialiasing = box
# Background color of the window (RGBA)
window = #00000000
# Background color of non-selected tiles (RGBA)
@ -84,9 +86,11 @@ background = #202020ff
# Background color of the selected tile (RGBA)
select = #404040ff
# Border color of the selected tile (RGBA)
border = #000000ff
# border = #000000ff
border = #FFc000ff
# Shadow color of the selected tile (RGBA)
shadow = #000000ff
# shadow = #000000ff
shadow = #FFc000ff
################################################################################
# Image list configuration
@ -99,7 +103,7 @@ reverse = no
# Read directories recursively (yes/no)
recursive = no
# Add files from the same directory as the first file (yes/no)
all = no
all = yes
# Enable file system monitoring for adding new images to the list (yes/no)
fsmon = yes
@ -212,6 +216,7 @@ MouseLeft = drag
MouseSide = prev_file
MouseExtra = next_file
MouseRight = info
Shift+f = exec mv "%" ~/data/local/_move/; skip_file
################################################################################
# Slideshow mode key binding configuration: key = action [parameters]
@ -266,3 +271,4 @@ ScrollDown = step_down
Ctrl+ScrollUp = thumb +20
Ctrl+ScrollDown = thumb -20
MouseLeft = mode viewer
Shift+f = exec mv "%" ~/data/local/_move/; skip_file