xmonad :D

This commit is contained in:
mehbark 2023-08-15 12:52:48 -04:00
parent 9a12bf7784
commit 6a1ba8f788
3 changed files with 12 additions and 3 deletions

View file

@ -1,6 +1,8 @@
with builtins;
{
wm = "kde";
wm = "xmonad";
is-x11 = wm: elem wm ["kde" "xmonad"];
# very, very non-exhaustive of course
is-x11 = wm: elem wm ["kde" "xmonad"];
is-wayland = wm: elem wm ["hyprland" "sway"];
}

View file

@ -147,6 +147,12 @@ in
environment.variables.SHELL = "fish";
environment.variables.TERM = "kitty";
services.xserver.windowManager.xmonad = if conf.wm == "xmonad"
then {
enable = true;
enableContribAndExtras = true;
} else {};
# List services that you want to enable:
# Enable the OpenSSH daemon.

View file

@ -28,6 +28,7 @@ in
starship
exa
ghc
dmenu
];
programs.fish = {
@ -136,7 +137,7 @@ in
main = xmonad defaultConfig
{ terminal = "kitty"
, modMask = mod4Mask
, borderWidth = 3
, borderWidth = 1
}
'';
} else {};