add colorscheme
This commit is contained in:
parent
c5238d0e9b
commit
11d4804be8
|
@ -1,9 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
xsession.windowManager.bspwm = {
|
||||
xsession.windowManager.bspwm = let colors = import ../color-scheme.nix; in {
|
||||
enable = true;
|
||||
settings = {
|
||||
border_width = 10;
|
||||
normal_border_color = colors.disabled;
|
||||
active_border_color = colors.secondary;
|
||||
focused_border_color = colors.primary;
|
||||
|
||||
border_width = 2;
|
||||
window_gap = 10;
|
||||
focus_follows_pointer = true;
|
||||
};
|
||||
extraConfig = ''
|
||||
|
|
|
@ -4,16 +4,7 @@
|
|||
enable = true;
|
||||
script = ""; # required but we start polybar via bspwm, so dont start it here.
|
||||
config = rec {
|
||||
colors = {
|
||||
background = "#282A2E";
|
||||
# background = "#ff00ff";
|
||||
background-alt = "#373B41";
|
||||
foreground = "#C5C8C6";
|
||||
primary = "#F0C674";
|
||||
secondary = "#8ABEB7";
|
||||
alert = "#A54242";
|
||||
disabled = "#707880";
|
||||
};
|
||||
colors = import ../.color-scheme.nix;
|
||||
|
||||
common-bar = {
|
||||
width = "100%";
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
background = "#282A2E";
|
||||
background-alt = "#373B41";
|
||||
|
||||
foreground = "#C5C8C6";
|
||||
|
||||
primary = "#F0C674";
|
||||
secondary = "#8ABEB7";
|
||||
|
||||
alert = "#A54242";
|
||||
disabled = "#707880";
|
||||
}
|
Loading…
Reference in New Issue