Decrease DPMS off time
This will first turn off the screen and then lock it. If I sit in front of the computer, I still have a chance to prevent the locking.
This commit is contained in:
parent
d6a82588c3
commit
e7b017596c
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ in
|
|||
ExecStart = ''
|
||||
${pkgs.swayidle}/bin/swayidle -w \
|
||||
timeout 300 "${pkgs.swaylock}/bin/swaylock -f -i ${wallpaper}" \
|
||||
timeout 300 '${pkgs.sway}/bin/swaymsg "output * dpms off"' \
|
||||
timeout 270 '${pkgs.sway}/bin/swaymsg "output * dpms off"' \
|
||||
resume '${pkgs.sway}/bin/swaymsg "output * dpms on"' \
|
||||
before-sleep "${pkgs.swaylock}/bin/swaylock -f -i ${wallpaper}"
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue