forked from logan/dotfiles
Added idle suspend to Hyprland
This commit is contained in:
parent
02affacfca
commit
580448a3d3
2 changed files with 3 additions and 1 deletions
.config/hypr
|
@ -2,3 +2,5 @@ $lockBG = ~/Pictures/orion-nebula-5120x2880-hubble-space-telescope-nasa-hd-5k-19
|
|||
$idleLockTime = 600
|
||||
$idleScreenTime = 605
|
||||
$idleScreenTimeLocked = 10
|
||||
$suspendTime = -1
|
||||
$suspendCMD = systemctl suspend
|
||||
|
|
|
@ -190,7 +190,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' 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' 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 = import-gsettings
|
||||
|
||||
|
|
Loading…
Reference in a new issue