Enable xsession

This commit is contained in:
Valentin Brandl 2023-12-29 12:10:36 +01:00
parent 422be581af
commit b38c627677
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -30,9 +30,11 @@ in {
home.packages = with pkgs; [
i3lock-fancy-rapid
];
xsession.windowManager.i3 = {
xsession = {
enable = true;
# package = pkgs.i3-gaps;
windowManager.i3 = {
enable = true;
# package = pkgs.i3-gaps;
config = {
modifier = mod;
@ -153,7 +155,7 @@ in {
r = "exec systemctl reboot, mode \"default\"";
e = "exec i3-msg exit, mode \"default\"";
# back to normal: Enter or Escape or mod+x again
# back to normal: Enter or Escape or mod+x again
Return = "mode \"default\"";
Escape = "mode \"default\"";
"${mod}+x" = "mode \"default\"";
@ -161,11 +163,12 @@ in {
};
window = {
hideEdgeBorders = "both";
# disable titlebar
# disable titlebar
titlebar = false;
};
};
};
};
}