mirror of
https://github.com/kmein/niveum
synced 2026-03-19 03:21:10 +01:00
feat(i3): add gaps
This commit is contained in:
@@ -9,7 +9,10 @@ let
|
|||||||
in with config.niveum; {
|
in with config.niveum; {
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
windowManager.default = "i3";
|
windowManager.default = "i3";
|
||||||
windowManager.i3.enable = true;
|
windowManager.i3 = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.i3-gaps;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.me.xsession.windowManager.i3 = {
|
home-manager.users.me.xsession.windowManager.i3 = {
|
||||||
@@ -21,6 +24,16 @@ in with config.niveum; {
|
|||||||
titlebar = false;
|
titlebar = false;
|
||||||
border = 1;
|
border = 1;
|
||||||
hideEdgeBorders = "smart";
|
hideEdgeBorders = "smart";
|
||||||
|
commands = [
|
||||||
|
{
|
||||||
|
command = "floating enable";
|
||||||
|
criteria = { title = "fzfmenu"; };
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
gaps = {
|
||||||
|
inner = 8;
|
||||||
|
outer = 0;
|
||||||
};
|
};
|
||||||
floating = {
|
floating = {
|
||||||
titlebar = false;
|
titlebar = false;
|
||||||
@@ -30,12 +43,16 @@ in with config.niveum; {
|
|||||||
let scheme = { background = colours.background; text = colours.foreground; };
|
let scheme = { background = colours.background; text = colours.foreground; };
|
||||||
in rec {
|
in rec {
|
||||||
focused = scheme // {
|
focused = scheme // {
|
||||||
|
border = colours.foreground;
|
||||||
|
indicator = colours.foreground;
|
||||||
|
childBorder = colours.foreground;
|
||||||
|
};
|
||||||
|
focusedInactive = focused;
|
||||||
|
unfocused = scheme // {
|
||||||
border = colours.background;
|
border = colours.background;
|
||||||
indicator = colours.background;
|
indicator = colours.background;
|
||||||
childBorder = colours.background;
|
childBorder = colours.background;
|
||||||
};
|
};
|
||||||
focusedInactive = focused;
|
|
||||||
unfocused = focused;
|
|
||||||
urgent = scheme // {
|
urgent = scheme // {
|
||||||
border = colours.red.bright;
|
border = colours.red.bright;
|
||||||
indicator = colours.red.bright;
|
indicator = colours.red.bright;
|
||||||
|
|||||||
Reference in New Issue
Block a user