swayidle: daemonize swaylock in example configuration
This commit is contained in:
parent
ef9088253c
commit
9e869829c2
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ in {
|
||||||
default = [ ];
|
default = [ ];
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
[
|
[
|
||||||
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; }
|
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
|
||||||
{ event = "lock"; command = "lock"; }
|
{ event = "lock"; command = "lock"; }
|
||||||
]
|
]
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Reference in a new issue