From a4a60cf36367ea17e438482da068e3c123df95e4 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 ++-- 1 file changed, 2 insertions(+), 2 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" ]; }; }