mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 00:39:45 +01:00
swayidle: add systemd suspend to example
This commit is contained in:
parent
9e869829c2
commit
4a8545f5e7
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ in {
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
[
|
[
|
||||||
{ timeout = 60; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
|
{ timeout = 60; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
|
||||||
|
{ timeout = 90; command = "${pkgs.systemd}/bin/systemctl suspend"; }
|
||||||
]
|
]
|
||||||
'';
|
'';
|
||||||
description = "List of commands to run after idle timeout.";
|
description = "List of commands to run after idle timeout.";
|
||||||
|
|
Loading…
Reference in a new issue