default to xfce+i3 for i3, switch back to plasma

This commit is contained in:
mehbark 2023-08-15 14:41:57 -04:00
parent d8b87fa1e2
commit 0a5a20e987
2 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,6 @@
with builtins;
{
wm = "i3";
wm = "plasma";
# very, very non-exhaustive of course
is-x11 = wm: elem wm ["plasma" "xmonad" "i3"];

View file

@ -67,9 +67,15 @@ in
desktopManager = {
plasma5.enable = conf.wm == "plasma";
xterm.enable = false;
xfce = if conf.wm == "i3" then {
enable = true;
noDesktop = true;
enableXfwm = false;
} else {};
};
displayManager = {
sddm.enable = conf.wm == "plasma" || conf.wm == "xmonad";
defaultSession = if conf.wm == "i3" then "xfce+i3" else null;
};
windowManager = {
i3 = if conf.wm == "i3" then {