feat(i3): use betterlockscreen instead of i3lock

This commit is contained in:
mandlm 2022-07-26 13:44:58 +02:00
parent adaf694330
commit d3ab88500a
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -18,5 +18,5 @@
programs.kitty.font.size = 16;
services.screen-locker.inactiveInterval = 20;
services.betterlockscreen.inactiveInterval = 20;
}