From db007821ab1ba1ba4d8ce2d77c587b11ccb589ef Mon Sep 17 00:00:00 2001 From: tslil Date: Mon, 6 Apr 2026 10:14:53 +0100 Subject: [darkman] link the wallpaper so that static state is available for wm startup --- darkman/background.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/darkman/background.sh b/darkman/background.sh index 69c9a44..7baa5ef 100755 --- a/darkman/background.sh +++ b/darkman/background.sh @@ -1,11 +1,12 @@ #!/bin/sh case "$1" in -dark) FN=/home/tslil/media/pictures/df.png ;; -light) FN=/home/tslil/media/pictures/df_light.png ;; -default) exit 1 ;; + dark) FN=/home/tslil/media/pictures/df_dark.png ;; + light) FN=/home/tslil/media/pictures/df_light.png ;; + default) exit 1 ;; esac -WAYLAND_DISPLAY=wayland-1 awww img $FN --resize crop --transition-type none -# killall swaybg -# WAYLAND_DISPLAY=wayland-1 swaybg -i $FN -m fill & +DEST=/home/tslil/media/pictures/background.png +ln -sf $FN $DEST + +WAYLAND_DISPLAY=wayland-1 awww img $DEST --resize crop --transition-type none -- cgit v1.2.3