Enable xsession
This commit is contained in:
parent
422be581af
commit
b38c627677
11
home/i3.nix
11
home/i3.nix
@ -30,9 +30,11 @@ in {
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
i3lock-fancy-rapid
|
i3lock-fancy-rapid
|
||||||
];
|
];
|
||||||
xsession.windowManager.i3 = {
|
xsession = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = pkgs.i3-gaps;
|
windowManager.i3 = {
|
||||||
|
enable = true;
|
||||||
|
# package = pkgs.i3-gaps;
|
||||||
config = {
|
config = {
|
||||||
modifier = mod;
|
modifier = mod;
|
||||||
|
|
||||||
@ -153,7 +155,7 @@ in {
|
|||||||
r = "exec systemctl reboot, mode \"default\"";
|
r = "exec systemctl reboot, mode \"default\"";
|
||||||
e = "exec i3-msg exit, 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\"";
|
Return = "mode \"default\"";
|
||||||
Escape = "mode \"default\"";
|
Escape = "mode \"default\"";
|
||||||
"${mod}+x" = "mode \"default\"";
|
"${mod}+x" = "mode \"default\"";
|
||||||
@ -161,11 +163,12 @@ in {
|
|||||||
};
|
};
|
||||||
window = {
|
window = {
|
||||||
hideEdgeBorders = "both";
|
hideEdgeBorders = "both";
|
||||||
# disable titlebar
|
# disable titlebar
|
||||||
titlebar = false;
|
titlebar = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user