add colorscheme

This commit is contained in:
Alex 2024-08-01 18:57:35 -04:00
parent c5238d0e9b
commit 11d4804be8
3 changed files with 20 additions and 12 deletions

View File

@ -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 = ''

View File

@ -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%";

View File

@ -0,0 +1,12 @@
{
background = "#282A2E";
background-alt = "#373B41";
foreground = "#C5C8C6";
primary = "#F0C674";
secondary = "#8ABEB7";
alert = "#A54242";
disabled = "#707880";
}