aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/LockScreen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/LockScreen.sh')
-rwxr-xr-xconfig/hypr/scripts/LockScreen.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/config/hypr/scripts/LockScreen.sh b/config/hypr/scripts/LockScreen.sh
index 5e799181..e61490cd 100755
--- a/config/hypr/scripts/LockScreen.sh
+++ b/config/hypr/scripts/LockScreen.sh
@@ -2,6 +2,10 @@
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# For Hyprlock
-#pidof hyprlock || hyprlock -q
+#pidof hyprlock || hyprlock -q
+
+# Ensure weather cache is up-to-date before locking (Waybar/lockscreen readers)
+bash "$HOME/.config/hypr/UserScripts/WeatherWrap.sh" >/dev/null 2>&1
+
+loginctl lock-session
-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