aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/hypr/hypridle.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf
index 4b8cd7e2..c931419a 100644
--- a/config/hypr/hypridle.conf
+++ b/config/hypr/hypridle.conf
@@ -5,7 +5,7 @@
$iDIR="$HOME/.config/swaync/images/ja.png"
general {
- lock_cmd = pidof hyprlock || hyprlock # runs hyprlock if it is not already running (this is always run when "loginctl lock-session" is called)
+ lock_cmd = sh -lc 'bash "$HOME/.secret/Hyprland-Dots/config/hypr/UserScripts/weatherWrap.sh" >/dev/null 2>&1; pidof hyprlock || hyprlock' # refresh weather cache synchronously via weatherWrap.sh, then run hyprlock
# unlock_cmd = killall hyprlock # kills hyprlock when unlocking (this is always run when "loginctl unlock-session" is called)
before_sleep_cmd = loginctl lock-session # ensures that the session is locked before going to sleep
after_sleep_cmd = hyprctl dispatch dpms on # turn of screen after sleep (not strictly necessary, but just in case)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage