mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 23:55:37 +00:00
i3 gaps and carbon fiber
This commit is contained in:
parent
7bfc3c68bd
commit
3304efab01
@ -2,7 +2,12 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.services.xserver.enable {
|
config = lib.mkIf config.services.xserver.enable {
|
||||||
|
|
||||||
services.xserver.windowManager = { i3 = { enable = true; }; };
|
services.xserver.windowManager = {
|
||||||
|
i3 = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.i3-gaps;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
dmenu # Launcher
|
dmenu # Launcher
|
||||||
@ -12,6 +17,7 @@
|
|||||||
|
|
||||||
home-manager.users.${identity.user}.xsession.windowManager.i3 = {
|
home-manager.users.${identity.user}.xsession.windowManager.i3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.i3-gaps;
|
||||||
config = let
|
config = let
|
||||||
modifier = "Mod4"; # Super key
|
modifier = "Mod4"; # Super key
|
||||||
ws1 = "I";
|
ws1 = "I";
|
||||||
@ -24,16 +30,6 @@
|
|||||||
ws8 = "VIII";
|
ws8 = "VIII";
|
||||||
ws9 = "IX";
|
ws9 = "IX";
|
||||||
ws10 = "X";
|
ws10 = "X";
|
||||||
# ws1 = "1:";
|
|
||||||
# ws2 = "2:";
|
|
||||||
# ws3 = "3:";
|
|
||||||
# ws4 = "4:";
|
|
||||||
# ws5 = "5:";
|
|
||||||
# ws6 = "6:";
|
|
||||||
# ws7 = "7:";
|
|
||||||
# ws8 = "8:";
|
|
||||||
# ws9 = "9:";
|
|
||||||
# ws10 = "10:";
|
|
||||||
in {
|
in {
|
||||||
modifier = modifier;
|
modifier = modifier;
|
||||||
assigns = {
|
assigns = {
|
||||||
@ -46,21 +42,23 @@
|
|||||||
colors = let
|
colors = let
|
||||||
background = "#2f343f";
|
background = "#2f343f";
|
||||||
inactiveBackground = "#2f343f";
|
inactiveBackground = "#2f343f";
|
||||||
|
border = "#F0C674";
|
||||||
|
inactiveBorder = "#E2B860";
|
||||||
text = "#f3f4f5";
|
text = "#f3f4f5";
|
||||||
inactiveText = "#676E7D";
|
inactiveText = "#676E7D";
|
||||||
urgentBackground = "#E53935";
|
urgentBackground = "#E53935";
|
||||||
indicator = "#00ff00";
|
# indicator = "#00ff00";
|
||||||
|
indicator = "#00000000";
|
||||||
in {
|
in {
|
||||||
background = background;
|
background = background;
|
||||||
focused = {
|
focused = {
|
||||||
inherit background indicator text;
|
inherit background indicator text border;
|
||||||
border = background;
|
|
||||||
childBorder = background;
|
childBorder = background;
|
||||||
};
|
};
|
||||||
focusedInactive = {
|
focusedInactive = {
|
||||||
inherit indicator;
|
inherit indicator;
|
||||||
background = inactiveBackground;
|
background = inactiveBackground;
|
||||||
border = inactiveBackground;
|
border = inactiveBorder;
|
||||||
childBorder = inactiveBackground;
|
childBorder = inactiveBackground;
|
||||||
text = inactiveText;
|
text = inactiveText;
|
||||||
};
|
};
|
||||||
@ -68,7 +66,7 @@
|
|||||||
unfocused = {
|
unfocused = {
|
||||||
inherit indicator;
|
inherit indicator;
|
||||||
background = inactiveBackground;
|
background = inactiveBackground;
|
||||||
border = inactiveBackground;
|
border = inactiveBorder;
|
||||||
childBorder = inactiveBackground;
|
childBorder = inactiveBackground;
|
||||||
text = inactiveText;
|
text = inactiveText;
|
||||||
};
|
};
|
||||||
@ -214,12 +212,24 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
window = {
|
window = {
|
||||||
border = 1;
|
border = 0;
|
||||||
hideEdgeBorders = "both";
|
hideEdgeBorders = "smart";
|
||||||
titlebar = false;
|
titlebar = false;
|
||||||
};
|
};
|
||||||
workspaceAutoBackAndForth = false;
|
workspaceAutoBackAndForth = false;
|
||||||
workspaceOutputAssign = [ ];
|
workspaceOutputAssign = [ ];
|
||||||
|
gaps = {
|
||||||
|
bottom = 0;
|
||||||
|
top = 0;
|
||||||
|
left = 0;
|
||||||
|
right = 0;
|
||||||
|
horizontal = 0;
|
||||||
|
vertical = 0;
|
||||||
|
inner = 0;
|
||||||
|
outer = 0;
|
||||||
|
smartBorders = "off";
|
||||||
|
smartGaps = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
extraConfig = "";
|
extraConfig = "";
|
||||||
};
|
};
|
||||||
|
@ -7,20 +7,20 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
blur = false;
|
blur = false;
|
||||||
blurExclude = [ ];
|
blurExclude = [ ];
|
||||||
extraOptions = ''
|
# extraOptions = ''
|
||||||
shadow-radius = 60
|
# shadow-radius = 60
|
||||||
corner-radius = 20
|
# corner-radius = 20
|
||||||
'';
|
# '';
|
||||||
fade = false;
|
fade = false;
|
||||||
experimentalBackends = true;
|
experimentalBackends = true;
|
||||||
inactiveDim = "0.2";
|
inactiveDim = "0.05";
|
||||||
inactiveOpacity = "1.0";
|
inactiveOpacity = "1.0";
|
||||||
menuOpacity = "1.0";
|
menuOpacity = "1.0";
|
||||||
noDNDShadow = false;
|
noDNDShadow = false;
|
||||||
opacityRule = [
|
opacityRule = [
|
||||||
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'" # Hide tabbed windows
|
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'" # Hide tabbed windows
|
||||||
];
|
];
|
||||||
shadow = true;
|
shadow = false;
|
||||||
shadowExclude = [ ];
|
shadowExclude = [ ];
|
||||||
shadowOffsets = [ (-30) (-30) ];
|
shadowOffsets = [ (-30) (-30) ];
|
||||||
shadowOpacity = "0.25";
|
shadowOpacity = "0.25";
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
radius = 0;
|
radius = 0;
|
||||||
# offset-y = "5%";
|
# offset-y = "5%";
|
||||||
# dpi = 96;
|
# dpi = 96;
|
||||||
background = colors.background;
|
background = "#00000000";
|
||||||
foreground = colors.foreground;
|
foreground = colors.foreground;
|
||||||
line-size = "3pt";
|
line-size = "3pt";
|
||||||
border-top-size = 0;
|
border-top-size = 0;
|
||||||
@ -96,6 +96,8 @@
|
|||||||
# format-volume-prefix = "VOL ";
|
# format-volume-prefix = "VOL ";
|
||||||
# format-volume-prefix-foreground = colors.primary;
|
# format-volume-prefix-foreground = colors.primary;
|
||||||
format-volume = "<ramp-volume> <label-volume>";
|
format-volume = "<ramp-volume> <label-volume>";
|
||||||
|
# format-volume-background = colors.background;
|
||||||
|
# label-volume-background = colors.background;
|
||||||
label-volume = "%percentage%%";
|
label-volume = "%percentage%%";
|
||||||
label-muted = "ﱝ ---";
|
label-muted = "ﱝ ---";
|
||||||
label-muted-foreground = colors.disabled;
|
label-muted-foreground = colors.disabled;
|
||||||
@ -151,6 +153,7 @@
|
|||||||
date-alt = "%Y-%m-%d %H:%M:%S";
|
date-alt = "%Y-%m-%d %H:%M:%S";
|
||||||
label = " %date%";
|
label = " %date%";
|
||||||
label-foreground = colors.primary;
|
label-foreground = colors.primary;
|
||||||
|
# format-background = colors.background;
|
||||||
};
|
};
|
||||||
"settings" = {
|
"settings" = {
|
||||||
screenchange-reload = true;
|
screenchange-reload = true;
|
||||||
|
@ -41,7 +41,10 @@ require("packer").startup(function(use)
|
|||||||
"morhetz/gruvbox",
|
"morhetz/gruvbox",
|
||||||
config = function()
|
config = function()
|
||||||
vim.g.gruvbox_italic = 1
|
vim.g.gruvbox_italic = 1
|
||||||
vim.cmd([[colorscheme gruvbox]])
|
vim.cmd([[
|
||||||
|
autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
|
||||||
|
colorscheme gruvbox
|
||||||
|
]])
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user