Shorten time until hibernate
This commit is contained in:
parent
d2f8a2d837
commit
4b828cd91f
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue