summaryrefslogtreecommitdiff
path: root/modules/desktop/waybar/style.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-27 11:12:06 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-27 11:12:06 -0400
commit80d32cb32a631e495d3a19d714a9acfd5aec9833 (patch)
treeebad46c5cb14559edda63d82702ffbd35e744d6f /modules/desktop/waybar/style.nix
parentadd alacritty (diff)
downloaddotfiles-nix-80d32cb32a631e495d3a19d714a9acfd5aec9833.tar.gz
dotfiles-nix-80d32cb32a631e495d3a19d714a9acfd5aec9833.tar.bz2
dotfiles-nix-80d32cb32a631e495d3a19d714a9acfd5aec9833.zip
update colorschemes
Diffstat (limited to 'modules/desktop/waybar/style.nix')
-rw-r--r--modules/desktop/waybar/style.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/modules/desktop/waybar/style.nix b/modules/desktop/waybar/style.nix
index 33db673..21a8de5 100644
--- a/modules/desktop/waybar/style.nix
+++ b/modules/desktop/waybar/style.nix
@@ -1,8 +1,7 @@
{theme}: let
- fg = "#${theme.colors.fg}";
- bg = "#${theme.colors.bg}";
- surface-fg = "#${theme.colors.surface.fg}";
- surface-bg = "#${theme.colors.surface.bg}";
+ text = "#${theme.colors.text}";
+ base = "#${theme.colors.base}";
+ surface = "#${theme.colors.surface}";
primary = "#${theme.colors.primary}";
success = "#${theme.colors.success}";
warning = "#${theme.colors.warning}";
@@ -23,8 +22,8 @@ in ''
window#waybar {
font-family: "${theme.font.regular}", "${theme.font.icon}", "${theme.font.monospace}";
font-size: ${fontSize};
- color: ${fg};
- background-color: ${bg};
+ color: ${text};
+ background-color: ${base};
}
/** Workspaces */
@@ -37,14 +36,14 @@ in ''
border-radius: ${innerRadius};
margin: 4px 2px;
padding: 0px 7px;
- background: ${surface-bg};
- color: ${surface-fg};
+ background: ${surface};
+ color: ${text};
}
#workspaces button.focused,
#workspaces button.active {
background: ${primary};
- color: ${bg};
+ color: ${base};
}
#workspaces button.urgent {