Files
dotfiles/waybar/style.css
T
funman300 1e3adbc842 feat: centralize theme palette + add waybar bluetooth module
Theme centralization:
- theme/colors.json is now the single source of truth for the palette.
- New theme/generate-theme.py renders, at install time, the three derived
  artifacts into ~/.config: colors.css (waybar/wofi @import), mako config,
  and hyprlock-colors.conf (hyprlang $tn_* variables).
- theme/colors.css removed from the repo (now generated); install.sh calls
  the generator instead of the old inline mako snippet.
- hyprlock.conf sources the generated color file and uses $tn_* variables
  instead of hardcoded rgba() values.
- Generator covered by theme/test_generate_theme.py.

Bluetooth:
- Added waybar built-in bluetooth module (config.jsonc + style.css), with
  bluez/bluez-utils in packages.txt.

Includes design spec and implementation plan under docs/superpowers/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 16:45:01 -07:00

71 lines
927 B
CSS

@import url("../theme/colors.css");
* {
font-family: JetBrainsMono Nerd Font;
font-size: 13px;
}
window#waybar {
background: @tn-bg-a90;
color: @tn-fg;
}
#workspaces button {
padding: 0 8px;
color: @tn-fg-muted;
}
#workspaces button.focused {
color: @tn-blue;
}
#custom-clock, #battery, #network, #pulseaudio,
#cpu, #temperature,
#custom-power-profile, #custom-fan-profile {
padding: 0 12px;
}
#custom-power-profile.performance {
color: @tn-yellow;
}
#custom-power-profile.power-saver {
color: @tn-green;
}
#battery.warning {
color: @tn-yellow;
}
#battery.critical {
color: @tn-red;
}
#cpu.warning {
color: @tn-yellow;
}
#cpu.critical {
color: @tn-red;
}
#temperature.warm {
color: @tn-yellow;
}
#temperature.critical {
color: @tn-red;
}
#bluetooth {
padding: 0 12px;
}
#bluetooth.connected {
color: @tn-blue;
}
#bluetooth.disabled, #bluetooth.off {
color: @tn-fg-muted;
}