change lockscreen to betterlockscreen

This commit is contained in:
2025-05-05 09:09:56 +02:00
parent a75991ba52
commit bea9a3e15b
7 changed files with 14 additions and 3 deletions

View File

@@ -90,8 +90,9 @@
# Setting the Basic Packages. # Setting the Basic Packages.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(libsForQt5.callPackage ./home/themes/catppuccin-sddm.nix { }) (libsForQt5.callPackage ./home/themes/catppuccin-sddm.nix { })
xsecurelock # Betterlockscreen
xss-lock xss-lock
xorg.xset
# flutter # flutter
android-studio android-studio
clang clang
@@ -155,6 +156,8 @@
ssh.startAgent = true; ssh.startAgent = true;
zsh.enable = true; zsh.enable = true;
}; };
# Betterlockscreen
security.pam.services.i3lock.enable = true;
# Enabling the Keyring. # Enabling the Keyring.
security.pam.services.lightdm.enableGnomeKeyring = true; security.pam.services.lightdm.enableGnomeKeyring = true;

View File

@@ -0,0 +1,5 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ betterlockscreen ];
}

View File

@@ -2,6 +2,7 @@
imports = [ imports = [
./alacritty ./alacritty
./anki ./anki
./betterlockscreen
./calibre ./calibre
./discord ./discord
./dolphin ./dolphin

View File

@@ -1,2 +1,2 @@
(include "./bar.yuck") (include "./bar.yuck")
(include "./powerpopup.yuck") (include "./power.yuck")

View File

@@ -1 +1 @@
xsecurelock betterlockscreen --lock blur

View File

@@ -100,3 +100,5 @@ myStartupHook = do
spawnOnce "nextcloud --background" spawnOnce "nextcloud --background"
spawnOnce "trayer --edge top --align left --widthtype request --height 25 --transparent true --alpha 0 --expand true --SetDockType true --SetPartialStrut true" spawnOnce "trayer --edge top --align left --widthtype request --height 25 --transparent true --alpha 0 --expand true --SetDockType true --SetPartialStrut true"
spawnOnce "eww open bar" spawnOnce "eww open bar"
spawnOnce "xss-lock -- ~/.config/eww/scripts/blur-lock.sh &"
spawnOnce "xset s 600 600 && xset +dpms && xset dpms 600 900 1200"