From d3ab88500a2eb1328c32a51bf6b500e5d1163db2 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 26 Jul 2022 13:44:58 +0200 Subject: [PATCH] feat(i3): use betterlockscreen instead of i3lock --- home-manager/i3/default.nix | 4 ++-- machines/p330/home-mandlm.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/home-manager/i3/default.nix b/home-manager/i3/default.nix index 76b8164..bb85a88 100644 --- a/home-manager/i3/default.nix +++ b/home-manager/i3/default.nix @@ -89,8 +89,8 @@ in }; }; - services.screen-locker = { + services.betterlockscreen = { enable = true; - lockCmd = "${pkgs.i3lock}/bin/i3lock --nofork --image /home/mandlm/.config/i3/wallpapers/nix-wallpaper-dracula.png"; + arguments = [ "--update /home/mandlm/.config/i3/wallpapers/nix-wallpaper-dracula.png" ]; }; } diff --git a/machines/p330/home-mandlm.nix b/machines/p330/home-mandlm.nix index f7a2ec3..bc8b537 100644 --- a/machines/p330/home-mandlm.nix +++ b/machines/p330/home-mandlm.nix @@ -18,5 +18,5 @@ programs.kitty.font.size = 16; - services.screen-locker.inactiveInterval = 20; + services.betterlockscreen.inactiveInterval = 20; }