changed lockscreen to betterlockscreen.

This commit is contained in:
Gabe Venberg 2024-04-11 14:52:29 -05:00
parent 073444e68c
commit f617e06134
8 changed files with 60 additions and 43 deletions

View file

@ -9,8 +9,14 @@
enable = true;
displayManager = {
defaultSession = "none+i3";
autoLogin = {
user = config.host.user;
enable = true;
};
lightdm = {
enable = true;
greeters.gtk.enable = false;
greeter.enable = false;
};
};
windowManager.i3.enable = true;
@ -201,10 +207,20 @@
};
startup = [
{
command = "feh --no-fehbg --bg-fill ~/.background-image";
command = "betterlockscreen --lock blur";
notification = false;
always = true;
}
{
command = "betterlockscreen --wall";
notification = false;
always = true;
}
# {
# command = "~/.fehbg";
# notification = false;
# always = true;
# }
];
};
};

View file

@ -5,7 +5,7 @@
...
}: {
environment.systemPackages = with pkgs; [
lightlocker
betterlockscreen
];
home-manager.users.${config.host.user} = {
config,
@ -18,15 +18,12 @@
mod = config.xsession.windowManager.i3.config.modifier;
in {
"${mod}+x" = ''
exec --no-startup-id light-locker-command -l
exec --no-startup-id betterlockscreen --lock blur
'';
};
startup = [
{
command = "light-locker";
notification = false;
}
];
};
imports = [
../../home-manager/feh.nix
];
};
}

View file

@ -18,13 +18,13 @@
description = "enable GUI";
default = false;
};
isLaptop=lib.mkEnableOption {
description="machine is a laptop";
default=false;
isLaptop = lib.mkEnableOption {
description = "machine is a laptop";
default = false;
};
isVm=lib.mkEnableOption {
description="machine is a virtual machine";
default=false;
isVm = lib.mkEnableOption {
description = "machine is a virtual machine";
default = false;
};
};
};

View file

@ -11,8 +11,8 @@
name = "FiraCode Nerd Font";
};
theme = "Gruvbox Dark";
settings={
background_opacity="0.8";
settings = {
background_opacity = "0.8";
};
};
}

View file

@ -46,8 +46,7 @@
./voice.nix
./zellij
./tiny-irc.nix
./pass.nix
./gpg.nix
./ssh-agent.nix
];
programs = {