[sway] Temporarily turn off the dpms swayidle switches
This commit is contained in:
parent
3703cb9e33
commit
5f9a235db2
|
@ -391,9 +391,7 @@ in
|
||||||
ExecStart = '' ${pkgs.swayidle}/bin/swayidle -w -d \
|
ExecStart = '' ${pkgs.swayidle}/bin/swayidle -w -d \
|
||||||
before-sleep '${config.home.homeDirectory}/bin/blur-lock' \
|
before-sleep '${config.home.homeDirectory}/bin/blur-lock' \
|
||||||
unlock '${config.home.homeDirectory}/bin/thinkpad-dock' \
|
unlock '${config.home.homeDirectory}/bin/thinkpad-dock' \
|
||||||
timeout 300 '${config.home.homeDirectory}/bin/blur-lock' \
|
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"'
|
|
||||||
'';
|
'';
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 5;
|
RestartSec = 5;
|
||||||
|
|
Loading…
Reference in New Issue