1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 05:47:29 +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 Mikilio
parent 757220a3c7
commit 1327882cbc
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

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"; }
]
'';