ark/profiles/graphical/xmonad/default.nix
Timothy DeHerrera 1efc3eab51
xmonad: patch slock to include window title
needed for reliable focus exclusion from picom, so that screen contents
aren't leaked while locked.
2020-06-13 09:35:26 -06:00

29 lines
525 B
Nix

{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
farbfeld
xss-lock
imgurbash2
dzvol
maim
xclip
xorg.xdpyinfo
];
services.xserver.windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
config = import ./xmonad.hs.nix { inherit pkgs; };
};
services.picom = {
enable = true;
inactiveOpacity = "0.8";
settings = {
"unredir-if-possible" = true;
"focus-exclude" = "name = 'slock'";
};
};
programs.slock.enable = true;
}