Shorten time until hibernate

This commit is contained in:
Benjamin Bädorf 2022-05-01 17:04:29 +02:00
parent d2f8a2d837
commit 4b828cd91f
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -11,8 +11,8 @@ pkgs:
Type = "simple"; Type = "simple";
Environment = "PATH=/run/current-system/sw/bin:${pkgs.sway}/bin"; Environment = "PATH=/run/current-system/sw/bin:${pkgs.sway}/bin";
ExecStart = ''${pkgs.swayidle}/bin/swayidle -w \ ExecStart = ''${pkgs.swayidle}/bin/swayidle -w \
timeout 300 'swaymsg "output * dpms off"' \ timeout 150 'swaymsg "output * dpms off"' \
timeout 600 'systemctl hibernate' \ timeout 300 'systemctl hibernate' \
''; '';
}; };
Install = { Install = {