From 7860e209003b500a8c7dd0fd9a8f8d368640530d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Sat, 8 Jun 2019 15:00:57 +0200 Subject: [PATCH] i3: use i3lock --- configs/xautolock.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/xautolock.nix b/configs/xautolock.nix index 5ba2b3f..bbf4320 100644 --- a/configs/xautolock.nix +++ b/configs/xautolock.nix @@ -5,11 +5,11 @@ ${pkgs.lightlocker}/bin/light-locker & ''; - services.xserver.xautolock = { + services.xserver.xautolock = rec { enable = true; killer = "${pkgs.systemd}/bin/systemctl suspend"; - locker = "${pkgs.lightlocker}/bin/light-locker-command -l"; - nowlocker = "${pkgs.lightlocker}/bin/light-locker-command -l"; + locker = "${pkgs.i3lock}/bin/i3lock"; + nowlocker = locker; enableNotifier = true; notifier = ''${pkgs.libnotify}/bin/notify-send -u normal -a xautolock "Locking soon" "The screen will lock in 10 seconds."''; };