Add i3lock instead of lightdm

inky
Elnu 2 years ago
parent 8819d2538c
commit 7c8ff79a11

@ -16,7 +16,10 @@
xkbOptions = "caps:escape";
displayManager = {
lightdm.enable = true;
#sddm.enable = true;
autoLogin = {
enable = true;
user = "elnu";
};
defaultSession = "none+i3";
};
windowManager.i3 = {

@ -5,6 +5,7 @@ let
in {
# Dependencies
home.packages = with pkgs; [
i3lock # lockscreen
playerctl # pactl comes with PulseAudio
scrot # Screnshot keybindings
xclip # Copying screenshots to clipboard
@ -22,7 +23,7 @@ in {
};
startup = [
{
command = "systemctl --user restart polybar";
command = "(systemctl --user restart polybar &) && i3lock -i `readlink -f ~/.background-image`";
always = true;
notification = false;
}

Loading…
Cancel
Save