From 3eb55227d9172017b6f74c5dd9a02068fb94193c Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sun, 12 Jan 2025 05:02:02 -0600 Subject: [PATCH] Lock on sleep --- hyprland/.config/hypr/hypridle.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hyprland/.config/hypr/hypridle.conf b/hyprland/.config/hypr/hypridle.conf index 67c0abb1..6f5a4a7e 100644 --- a/hyprland/.config/hypr/hypridle.conf +++ b/hyprland/.config/hypr/hypridle.conf @@ -3,6 +3,8 @@ general { lock_cmd = pgrep -u "$USER" hyprlock || hyprlock unlock_cmd = pkill -xu "$USER" -SIGUSR1 hyprlock + + before_sleep_cmd = loginctl lock-session } listener {