aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/WallpaperAutoChange.sh
diff options
context:
space:
mode:
authorDonald Williams <129223418+dwilliam62@users.noreply.github.com>2025-10-03 23:28:49 -0400
committerGitHub <noreply@github.com>2025-10-03 23:28:49 -0400
commitcd6730a58e7c5fb9fe2cb278152a5423bddea498 (patch)
tree7e0fa9fc2b65a93544315e059eedc64a8ee7de26 /config/hypr/UserScripts/WallpaperAutoChange.sh
parent3909e6850e669aee87404542bc6eb86f8a633ceb (diff)
parentcc437da9dd067a9a001c0a68cd6f1be57b333a78 (diff)
Merge pull request #822 from dwilliam62/development
Weather.py: switch to Open-Meteo; add caching, reverse geocoding
Diffstat (limited to 'config/hypr/UserScripts/WallpaperAutoChange.sh')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperAutoChange.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/WallpaperAutoChange.sh b/config/hypr/UserScripts/WallpaperAutoChange.sh
index f54620bb..a6d2cedd 100755
--- a/config/hypr/UserScripts/WallpaperAutoChange.sh
+++ b/config/hypr/UserScripts/WallpaperAutoChange.sh
@@ -31,7 +31,10 @@ while true; do
done \
| sort -n | cut -d':' -f2- \
| while read -r img; do
- swww img -o $focused_monitor "$img"
+ swww img -o $focused_monitor "$img"
+ # Regenerate colors from the exact image path to avoid cache races
+ $HOME/.config/hypr/scripts/WallustSwww.sh "$img"
+ # Refresh UI components that depend on wallust output
$wallust_refresh
sleep $INTERVAL
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage