xmonad :D
This commit is contained in:
parent
9a12bf7784
commit
6a1ba8f788
3 changed files with 12 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
||||||
with builtins;
|
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"];
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,6 +147,12 @@ in
|
||||||
environment.variables.SHELL = "fish";
|
environment.variables.SHELL = "fish";
|
||||||
environment.variables.TERM = "kitty";
|
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:
|
# List services that you want to enable:
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
|
|
3
home.nix
3
home.nix
|
@ -28,6 +28,7 @@ in
|
||||||
starship
|
starship
|
||||||
exa
|
exa
|
||||||
ghc
|
ghc
|
||||||
|
dmenu
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
|
@ -136,7 +137,7 @@ in
|
||||||
main = xmonad defaultConfig
|
main = xmonad defaultConfig
|
||||||
{ terminal = "kitty"
|
{ terminal = "kitty"
|
||||||
, modMask = mod4Mask
|
, modMask = mod4Mask
|
||||||
, borderWidth = 3
|
, borderWidth = 1
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
} else {};
|
} else {};
|
||||||
|
|
Loading…
Reference in a new issue