aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorprabinpanta0 <pantaprabin30@gmail.com>2025-10-28 16:38:45 +0545
committerprabinpanta0 <pantaprabin30@gmail.com>2025-10-28 16:38:45 +0545
commit05ca56247aae6cbc4e36cbf8bb8b39507d26dd64 (patch)
tree4f8e103b68acb993480b0586d7661f79ce20e4b1 /config
parentd409213ae1e98bd80eca432a70a158d4c7c24b71 (diff)
chore(lock): prime weather cache before locking session
- Call weatherWrap.sh synchronously, then loginctl lock-session - Ensures lockscreen/waybar can read an up-to-date ~/.cache/.weather_cache
Diffstat (limited to 'config')
-rwxr-xr-xconfig/hypr/scripts/LockScreen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/hypr/scripts/LockScreen.sh b/config/hypr/scripts/LockScreen.sh
index 5e799181..17239406 100755
--- a/config/hypr/scripts/LockScreen.sh
+++ b/config/hypr/scripts/LockScreen.sh
@@ -4,4 +4,7 @@
# For Hyprlock
#pidof hyprlock || hyprlock -q
+# Ensure weather cache is up-to-date before locking (Waybar/lockscreen readers)
+bash "$HOME/.secret/Hyprland-Dots/config/hypr/UserScripts/weatherWrap.sh" >/dev/null 2>&1
+
loginctl lock-session \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage