From 501d6b90f5b96403d007075f01e3406a0ade0dc1 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Sun, 1 Mar 2026 14:15:45 +0100 Subject: [PATCH] feat(swayimg): QoL things --- home/oli/.config/swayimg/config | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/home/oli/.config/swayimg/config b/home/oli/.config/swayimg/config index b594ef1..7f02474 100644 --- a/home/oli/.config/swayimg/config +++ b/home/oli/.config/swayimg/config @@ -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