xmonad kind of sucks
This commit is contained in:
parent
fea62e4c69
commit
a1d5509ab6
3 changed files with 6 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
with builtins;
|
||||
{
|
||||
wm = "xmonad";
|
||||
wm = "plasma";
|
||||
|
||||
# very, very non-exhaustive of course
|
||||
is-x11 = wm: elem wm ["kde" "xmonad"];
|
||||
is-x11 = wm: elem wm ["plasma" "xmonad"];
|
||||
is-wayland = wm: elem wm ["hyprland" "sway"];
|
||||
}
|
||||
|
|
|
@ -61,8 +61,8 @@ in
|
|||
services.xserver.enable = x11;
|
||||
|
||||
# Enable the KDE Plasma Desktop Environment.
|
||||
services.xserver.displayManager.sddm.enable = conf.wm == "kde";
|
||||
services.xserver.desktopManager.plasma5.enable = conf.wm == "kde";
|
||||
services.xserver.displayManager.sddm.enable = conf.wm == "plasma" || conf.wm == "xmonad";
|
||||
services.xserver.desktopManager.plasma5.enable = conf.wm == "plasma";
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver = {
|
||||
|
|
3
home.nix
3
home.nix
|
@ -134,7 +134,8 @@ in
|
|||
enable = true;
|
||||
config = pkgs.writeText "xmonad.hs" ''
|
||||
import XMonad
|
||||
main = xmonad def
|
||||
import XMonad.Config.Kde
|
||||
main = xmonad kde4Config
|
||||
{ terminal = "kitty"
|
||||
, modMask = mod4Mask
|
||||
, borderWidth = 1
|
||||
|
|
Loading…
Reference in a new issue