theme changes

This commit is contained in:
Dmitriy Kholkin 2021-09-15 18:39:02 +03:00
parent 60046c4f06
commit 8131a1aca2
3 changed files with 33 additions and 64 deletions

View File

@ -47,8 +47,8 @@ with config.deviceSpecific;
foreground = "#${thm.base05-hex}"; foreground = "#${thm.base05-hex}";
}; };
cursor = { cursor = {
text = "#${thm.base00-hex}"; text = "#${thm.base02-hex}";
cursor = "#${thm.base05-hex}"; cursor = "#${thm.base00-hex}";
}; };
normal = { normal = {
black = "#${thm.base00-hex}"; black = "#${thm.base00-hex}";

View File

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { pkgs, config, lib, ... }:
let let
thm = config.lib.base16.theme; thm = config.lib.base16.theme;
apps = config.defaultApplications; apps = config.defaultApplications;
@ -30,43 +30,27 @@ in {
bars = [ ]; bars = [ ];
colors = { colors = rec {
focused = {
border = "#${thm.base05-hex}";
background = "#${thm.base00-hex}"; background = "#${thm.base00-hex}";
text = "#${thm.base0D-hex}"; unfocused = {
indicator = "#${thm.base0D-hex}"; text = "#${thm.base02-hex}";
childBorder = "#${thm.base0C-hex}";
};
focusedInactive = {
border = "#${thm.base01-hex}"; border = "#${thm.base01-hex}";
background = "#${thm.base00-hex}";
childBorder = "#${thm.base01-hex}";
indicator = "#${thm.base07-hex}";
};
focusedInactive = unfocused;
urgent = unfocused // {
text = "#${thm.base05-hex}";
border = "#${thm.base09-hex}";
childBorder = "#${thm.base09-hex}";
};
focused = unfocused // {
childBorder = "#${thm.base03-hex}";
border = "#${thm.base03-hex}";
background = "#${thm.base01-hex}"; background = "#${thm.base01-hex}";
text = "#${thm.base05-hex}"; text = "#${thm.base05-hex}";
indicator = "#${thm.base03-hex}";
childBorder = "#${thm.base01-hex}";
}; };
unfocused = {
border = "#${thm.base01-hex}";
background = "#${thm.base00-hex}";
text = "#${thm.base05-hex}";
indicator = "#${thm.base01-hex}";
childBorder = "#${thm.base01-hex}";
};
urgent = {
border = "#${thm.base08-hex}";
background = "#${thm.base08-hex}";
text = "#${thm.base00-hex}";
indicator = "#${thm.base08-hex}";
childBorder = "#${thm.base08-hex}";
};
placeholder = {
border = "#${thm.base00-hex}";
background = "#${thm.base00-hex}";
text = "#${thm.base05-hex}";
indicator = "#${thm.base00-hex}";
childBorder = "#${thm.base00-hex}";
};
background = "#${thm.base07-hex}";
}; };
gaps = { gaps = {

View File

@ -16,35 +16,20 @@ in {
position = "top"; position = "top";
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs"; statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs";
workspaceNumbers = false; workspaceNumbers = false;
colors = { colors = let
background = "#${thm.base00-hex}"; default = {
statusline = "#${thm.base02-hex}";
separator = "#${thm.base04-hex}";
focusedWorkspace = {
background = "#${thm.base00-hex}"; background = "#${thm.base00-hex}";
border = "#${thm.base00-hex}"; border = "#${thm.base00-hex}";
text = "#${thm.base0D-hex}";
}; };
activeWorkspace = { in {
background = "#${thm.base03-hex}";
border = "#${thm.base00-hex}";
text = "#${thm.base00-hex}";
};
inactiveWorkspace = {
background = "#${thm.base01-hex}";
border = "#${thm.base00-hex}";
text = "#${thm.base05-hex}";
};
urgentWorkspace = {
background = "#${thm.base00-hex}"; background = "#${thm.base00-hex}";
border = "#${thm.base0A-hex}"; statusline = "#${thm.base05-hex}";
text = "#${thm.base05-hex}"; separator = "#${thm.base02-hex}";
}; focusedWorkspace = default // { text = "#${thm.base08-hex}"; };
bindingMode = { activeWorkspace = default // { text = "#${thm.base0B-hex}"; };
background = "#${thm.base0A-hex}"; inactiveWorkspace = default // { text = "#${thm.base05-hex}"; };
border = "#${thm.base00-hex}"; urgentWorkspace = default // { text = "#${thm.base09-hex}"; };
text = "#${thm.base00-hex}"; bindingMode = default // { text = "#${thm.base0A-hex}"; };
};
}; };
}]; }];