summaryrefslogtreecommitdiff
path: root/.config/scripts
diff options
context:
space:
mode:
authorsilly <u65487754@gmail.com>2026-04-06 03:54:10 +0000
committerGitHub <noreply@github.com>2026-04-06 03:54:10 +0000
commit09918690d568db5865f7cfb7775fd26063f9d443 (patch)
treee893b566dd59333fbbf3e0b4da4bd0d3286dcdf0 /.config/scripts
parentcbcdc960fe3c798df7472f44e453874cdce67604 (diff)
Update wallpaper.sh
Diffstat (limited to '.config/scripts')
-rw-r--r--.config/scripts/wallpaper.sh6
1 files changed, 6 insertions, 0 deletions
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 &