1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Auto-detect wallpaper changes, prefs in ~/.config/DankMaterialShell

This commit is contained in:
bbedward
2025-07-11 16:14:59 -04:00
parent 5a9ef71f75
commit 75cb1ead2f
5 changed files with 165 additions and 34 deletions

View File

@@ -77,4 +77,9 @@ EOF
echo "→ Ghostty theme: $QS_DIR/generated_ghostty_colors.conf"
echo " (use in ghostty: theme = $QS_DIR/generated_ghostty_colors.conf )"
niri msg action do-screen-transition --delay-ms 100
niri msg action do-screen-transition --delay-ms 100
# Notify running shell about wallpaper change (for dynamic theme updates)
NOTIFY_FILE="$QS_DIR/wallpaper_changed"
echo "$(date '+%s')" > "$NOTIFY_FILE"
echo "→ Shell notified: $NOTIFY_FILE"