Correctly configure sleep and hibernation
This commit is contained in:
parent
cfd2b9be69
commit
142ccb8815
4 changed files with 22 additions and 1 deletions
|
@ -14,7 +14,8 @@ idle() {
|
|||
swayidle -w \
|
||||
timeout 180 '~/.local/bin/hyprhelpr lock' \
|
||||
timeout 240 'hyprctl dispatch dpms off' \
|
||||
resume 'hyprctl dispatch dpms on'
|
||||
resume 'hyprctl dispatch dpms on' \
|
||||
before-sleep '~/.local/bin/hyprhelpr lock'
|
||||
}
|
||||
|
||||
lock() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue