[sway] Temporarily turn off the dpms swayidle switches

This commit is contained in:
Sebastian Schulze 2022-07-29 16:02:46 +02:00
parent 3703cb9e33
commit 5f9a235db2
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 1 additions and 3 deletions

View File

@ -391,9 +391,7 @@ in
ExecStart = '' ${pkgs.swayidle}/bin/swayidle -w -d \
before-sleep '${config.home.homeDirectory}/bin/blur-lock' \
unlock '${config.home.homeDirectory}/bin/thinkpad-dock' \
timeout 300 '${config.home.homeDirectory}/bin/blur-lock' \
timeout 600 '${pkgs.sway}/bin/swaymsg "output * dpms off"' \
resume '${pkgs.sway}/bin/swaymsg "output * dpms on"'
timeout 300 '${config.home.homeDirectory}/bin/blur-lock'
'';
Restart = "on-failure";
RestartSec = 5;