Fixed screen not turning back on in Hyprland, properly

This commit is contained in:
Logan G 2023-10-04 23:40:37 -06:00
parent 209d0a6ba5
commit 273f035fca
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -69,8 +69,8 @@ misc {
swallow_regex=^(alacritty|kitty|footclient)$
disable_hyprland_logo=true
vrr=true
mouse_move_enables_dpms=true
key_press_enables_dpms=true
#mouse_move_enables_dpms=true
#key_press_enables_dpms=true
}
# example window rules
@ -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' timeout $idleScreenTimeLocked 'pgrep -x swaylock && hyprctl dispatch dpms off' 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 '$lockCMD' before-sleep 'playerctl -a pause'
exec = import-gsettings