From 09918690d568db5865f7cfb7775fd26063f9d443 Mon Sep 17 00:00:00 2001 From: silly Date: Mon, 6 Apr 2026 03:54:10 +0000 Subject: Update wallpaper.sh --- .config/scripts/wallpaper.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/scripts/wallpaper.sh b/.config/scripts/wallpaper.sh index 123f898..a527384 100644 --- a/.config/scripts/wallpaper.sh +++ b/.config/scripts/wallpaper.sh @@ -4,6 +4,7 @@ WALLPAPER_DIR="$HOME/.config/wallpaper/" THUMBNAIL_DIR="$HOME/.cache/thumbnails/" CACHE_PATH="$HOME/.cache/wallpaper/wallpaper.*" RASI_THEME="$HOME/.config/rofi/wallpaper.rasi" +DUNST_CONFIG="$HOME/.config/dunst/dunstrc" MAIN_MONITOR="HDMI-A-1" SECOND_MONITOR="DP-1" @@ -46,6 +47,11 @@ mkdir -p "$(dirname "$CACHE_PATH")" ln -sf "$FULL_PATH" "$CACHE_PATH" ln -sf ~/.cache/wal/colors-zed.json ~/.config/zed/themes/colors-zed.json +if [ -f "$HOME/.cache/wal/colors.sh" ]; then + source "$HOME/.cache/wal/colors.sh" + sed -i "s/^[[:space:]]*frame_color = .*/ frame_color = \"$color4\"/" "$DUNST_CONFIG" +fi + kill -SIGUSR1 $(pgrep kitty) 2>/dev/null killall dunst dunst & -- cgit v1.3.1