From 406e84e4ec15cfd783dafec5e79632c7f03b5e24 Mon Sep 17 00:00:00 2001 From: Logan G Date: Wed, 4 Oct 2023 23:52:27 -0600 Subject: [PATCH] Fixed lock screen not appearing after suspend in Hyprland: --- .config/hypr/hyprland.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index b1a8cd2..bbb598b 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -192,7 +192,7 @@ exec-once = wl-paste --type text --watch cliphist store #Stores only text data exec-once = wl-paste --type image --watch cliphist store #Stores only image data exec-once = lxqt-policykit-agent exec-once = hyprpaper -exec-once = swayidle -w timeout $idleLockTime '$lockCMD' timeout $idleScreenTime 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' timeout $idleScreenTimeLocked "/bin/bash -c 'pgrep -x swaylock && hyprctl dispatch dpms off'" resume 'hyprctl dispatch dpms on' timeout $suspendTime '$suspendCMD' resume 'hyprctl dispatch dpms on' before-sleep '$lockCMD' before-sleep 'playerctl -a pause' +exec-once = swayidle -w timeout $idleLockTime '$lockCMD' timeout $idleScreenTime 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' timeout $idleScreenTimeLocked "/bin/bash -c 'pgrep -x swaylock && hyprctl dispatch dpms off'" resume 'hyprctl dispatch dpms on' timeout $suspendTime '$suspendCMD' resume 'hyprctl dispatch dpms on' before-sleep "/bin/bash -c '$lockCMD && playerctl -a pause'" exec = import-gsettings