From 2847467b4427a02c8b92346e9916186e05e42a41 Mon Sep 17 00:00:00 2001 From: prabinpanta0 Date: Tue, 28 Oct 2025 16:55:42 +0545 Subject: chore(hypridle): remove synchronous weatherWrap invocation from lock_cmd and restore simple hyprlock call (revert back to original) --- config/hypr/hypridle.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf index c931419a..c1343926 100644 --- a/config/hypr/hypridle.conf +++ b/config/hypr/hypridle.conf @@ -1,11 +1,9 @@ -# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # # Hypridle -# Original config submitted by https://github.com/SherLock707 - + $iDIR="$HOME/.config/swaync/images/ja.png" general { - 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 + lock_cmd = pidof hyprlock || hyprlock # runs hyprlock if it is not already running (this is always run when "loginctl lock-session" is called) # 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) -- cgit v1.2.3