home: wm: add i3
This is only the basic default configuration. The full configuration will come later. I am not a fan of `wm.windowManager`, I might rename that option at some point.
This commit is contained in:
parent
5427f15a17
commit
f57cfda767
3 changed files with 31 additions and 0 deletions
15
home/wm/i3.nix
Normal file
15
home/wm/i3.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
isEnabled = config.my.home.wm.windowManager == "i3";
|
||||
in
|
||||
{
|
||||
config = lib.mkIf isEnabled {
|
||||
xsession.windowManager.i3 = {
|
||||
enable = true;
|
||||
|
||||
config = {
|
||||
modifier = "Mod4"; # `Super` key
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue