1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 04:39:48 +01: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"; }
]
'';