diff options
author | sefidel <contact@sefidel.net> | 2023-10-07 15:12:02 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-10-07 15:12:02 +0900 |
commit | c03588dcfc6aa07c320615ae9816fde68548cf03 (patch) | |
tree | 7e7d0733f9745688b0fcfacc91ac86f2536b7156 /home | |
parent | 541b2788a8642e72357d7483737151742ebabc98 (diff) | |
download | nixrc-c03588dcfc6aa07c320615ae9816fde68548cf03.tar.gz nixrc-c03588dcfc6aa07c320615ae9816fde68548cf03.zip |
feat(home/gui): swayidle: use loginctl to lock before sleep
Diffstat (limited to 'home')
-rw-r--r-- | home/profiles/gui/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix index c8bbd7d..2fbb505 100644 --- a/home/profiles/gui/default.nix +++ b/home/profiles/gui/default.nix @@ -189,7 +189,7 @@ in { enable = true; events = [ - { event = "before-sleep"; command = lockCommand; } + { event = "before-sleep"; command = "${pkgs.systemd}/bin/loginctl lock-session"; } { event = "lock"; command = lockCommand; } ]; timeouts = [ |