summaryrefslogtreecommitdiff
path: root/modules/desktop/waybar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/waybar')
-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 {