color adjustments on the i3 bar
This commit is contained in:
parent
89e541f288
commit
798dd566a3
1 changed files with 32 additions and 20 deletions
|
@ -80,43 +80,47 @@ in
|
||||||
size = 9.0;
|
size = 9.0;
|
||||||
};
|
};
|
||||||
bars =
|
bars =
|
||||||
|
with colorTheme;
|
||||||
|
let
|
||||||
|
selected = blue;
|
||||||
|
in
|
||||||
[{
|
[{
|
||||||
mode = "hide";
|
mode = "hide";
|
||||||
hiddenState = "hide";
|
hiddenState = "hide";
|
||||||
position = "bottom";
|
position = "top";
|
||||||
workspaceButtons = true;
|
workspaceButtons = true;
|
||||||
workspaceNumbers = true;
|
workspaceNumbers = true;
|
||||||
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ${config.users.users.mainUser.home}/.config/i3status-rust/config-my.toml";
|
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ${config.users.users.mainUser.home}/.config/i3status-rust/config-my.toml";
|
||||||
fonts = [ "Terminus" ];
|
fonts = [ "Terminus" ];
|
||||||
trayOutput = "primary";
|
trayOutput = "primary";
|
||||||
colors = {
|
colors = {
|
||||||
background = colorTheme.background;
|
background = background;
|
||||||
statusline = colorTheme.background;
|
statusline = background;
|
||||||
separator = colorTheme.background;
|
separator = background;
|
||||||
focusedWorkspace = {
|
focusedWorkspace = {
|
||||||
border = colorTheme.foreground;
|
border = selected;
|
||||||
background = colorTheme.foreground;
|
background = base02;
|
||||||
text = colorTheme.background;
|
text = foreground;
|
||||||
};
|
};
|
||||||
activeWorkspace = {
|
activeWorkspace = {
|
||||||
border = colorTheme.background;
|
border = background;
|
||||||
background = colorTheme.background;
|
background = base02;
|
||||||
text = colorTheme.foreground;
|
text = foreground;
|
||||||
};
|
};
|
||||||
inactiveWorkspace = {
|
inactiveWorkspace = {
|
||||||
border = colorTheme.background;
|
border = background;
|
||||||
background = colorTheme.background;
|
background = base02;
|
||||||
text = colorTheme.foreground;
|
text = foreground;
|
||||||
};
|
};
|
||||||
urgentWorkspace = {
|
urgentWorkspace = {
|
||||||
border = colorTheme.red;
|
border = red;
|
||||||
background = colorTheme.background;
|
background = base02;
|
||||||
text = colorTheme.foreground;
|
text = foreground;
|
||||||
};
|
};
|
||||||
bindingMode = {
|
bindingMode = {
|
||||||
border = colorTheme.background;
|
border = red;
|
||||||
background = colorTheme.background;
|
background = red;
|
||||||
text = colorTheme.foreground;
|
text = background;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
@ -195,7 +199,6 @@ in
|
||||||
"${cfg.config.modifier}+9" = "workspace number 9";
|
"${cfg.config.modifier}+9" = "workspace number 9";
|
||||||
"${cfg.config.modifier}+0" = "workspace number 10";
|
"${cfg.config.modifier}+0" = "workspace number 10";
|
||||||
|
|
||||||
"${cfg.config.modifier}+Escape" = "workspace back_and_forth";
|
|
||||||
|
|
||||||
"${cfg.config.modifier}+Shift+1" = "move container to workspace number 1";
|
"${cfg.config.modifier}+Shift+1" = "move container to workspace number 1";
|
||||||
"${cfg.config.modifier}+Shift+2" = "move container to workspace number 2";
|
"${cfg.config.modifier}+Shift+2" = "move container to workspace number 2";
|
||||||
|
@ -208,6 +211,13 @@ in
|
||||||
"${cfg.config.modifier}+Shift+9" = "move container to workspace number 9";
|
"${cfg.config.modifier}+Shift+9" = "move container to workspace number 9";
|
||||||
"${cfg.config.modifier}+Shift+0" = "move container to workspace number 10";
|
"${cfg.config.modifier}+Shift+0" = "move container to workspace number 10";
|
||||||
|
|
||||||
|
"${cfg.config.modifier}+Escape" = "workspace back_and_forth";
|
||||||
|
|
||||||
|
# rename workspace
|
||||||
|
"${cfg.config.modifier}+n" = ''
|
||||||
|
exec i3-input -F 'rename workspace to "%s"' -P 'New name for this workspace: '
|
||||||
|
'';
|
||||||
|
|
||||||
"${cfg.config.modifier}+Shift+c" = "reload";
|
"${cfg.config.modifier}+Shift+c" = "reload";
|
||||||
"${cfg.config.modifier}+Shift+r" = "restart";
|
"${cfg.config.modifier}+Shift+r" = "restart";
|
||||||
"${cfg.config.modifier}+Shift+e" = "exec i3-nagbar -t warning -m 'Do you want to exit i3?' -b 'Yes' 'i3-msg exit'";
|
"${cfg.config.modifier}+Shift+e" = "exec i3-nagbar -t warning -m 'Do you want to exit i3?' -b 'Yes' 'i3-msg exit'";
|
||||||
|
@ -216,6 +226,8 @@ in
|
||||||
|
|
||||||
# like vimperator
|
# like vimperator
|
||||||
"${cfg.config.modifier}+grave" = "exec ${pkgs.i3-easyfocus}/bin/i3-easyfocus";
|
"${cfg.config.modifier}+grave" = "exec ${pkgs.i3-easyfocus}/bin/i3-easyfocus";
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue