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