1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-16 03:28:31 +02:00

swayidle: daemonize swaylock in example configuration

This commit is contained in:
Yuchen Guo 2023-11-28 12:32:00 +01:00 committed by Robert Helgesson
parent ef9088253c
commit 9e869829c2
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -84,7 +84,7 @@ in {
default = [ ];
example = literalExpression ''
[
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; }
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
{ event = "lock"; command = "lock"; }
]
'';