xmobar & xmonad optimierung

This commit is contained in:
2024-03-07 18:48:50 +01:00
parent ccf04eae11
commit c90ff7fa3e
7 changed files with 164 additions and 88 deletions

View File

@@ -0,0 +1,19 @@
{ pkgs, ... }:
let images = pkgs.callPackage ../extras/images.nix { };
in {
home.packages = with pkgs; [ xsecurelock ];
home.sessionVariables = rec {
XSECURELOCK_COMPOSITE_OBSCURER = 0;
XSECURELOCK_PASSWORD_PROMPT = "asterisks";
};
services.screen-locker = {
enable = true;
inactiveInterval = 1;
lockCmd = "${pkgs.xsecurelock}/bin/xsecurelock";
xautolock.extraOptions = [ "Xautolock.killer: systemctl suspend" ];
};
}