/* Waybar styling for a HyprCosmic session. * * This file is only an import list, because the order is the whole design: * * 1. palette.css default colours, under both our names and HyDE's * 2. theme.css the installed HyDE theme's waybar.theme, if any * 3. bridge-hyde.css maps HyDE's colour names onto the ones the rules use * 4. rules.css geometry and layout; no colour literals at all * * Every entry is an @import, so they are read strictly in sequence and a later * definition of a colour wins over an earlier one. That is what lets step 2 * recolour the bar without step 4 knowing a theme exists. * * Step 2 is a copy of the installed theme's waybar.theme, kept as a sibling of * this file rather than read from HyDE's own ~/.config/waybar/theme.css. * * That copy exists because a missing @import is fatal in GTK, not a warning: * pointing at HyDE's path directly means the whole stylesheet fails to load on * any machine where no theme has been imported. A sibling file we create at * install time is always present -- empty when there is no theme, in which * case the defaults from step 1 stand. palette.css defines HyDE's names too, * so the bridge in step 3 resolves either way. * * Consequently this file belongs at ~/.config/hyprcosmic/waybar/style.css, not * under /usr/share: a relative @import resolves against the importing file, * and theme.css is per-user. */ @import url("file:///usr/share/hyprcosmic/waybar/palette.css"); @import url("theme.css"); @import url("file:///usr/share/hyprcosmic/waybar/bridge-hyde.css"); @import url("file:///usr/share/hyprcosmic/waybar/rules.css");