quickshell: use Rubik for panel text

This commit is contained in:
rope 2026-07-29 17:45:08 +01:00
parent a48aac42d0
commit ec7ae50cf0

View file

@ -13,11 +13,12 @@ in
qt6.qt5compat # Qt5Compat.GraphicalEffects in Bar.qml qt6.qt5compat # Qt5Compat.GraphicalEffects in Bar.qml
]; ];
# Icon font for the shell (ligature-based: text "volume_up" renders the # Shell fonts, matching caelestia: Rubik for all UI text, Material Symbols
# icon) — same font caelestia uses; nerd-font glyphs stay for terminals. # Rounded for icons (ligature-based: text "volume_up" renders the icon).
fonts.packages = [ pkgs.material-symbols ]; # Scoped to the bar only — terminals/GTK still follow stylix.
fonts.packages = [ pkgs.material-symbols pkgs.rubik ];
home-manager.users.fred = { config, lib, pkgs, osConfig, ... }: home-manager.users.fred = { config, lib, pkgs, ... }:
let let
c = config.lib.stylix.colors; c = config.lib.stylix.colors;
in { in {
@ -50,8 +51,6 @@ in
[ -n "$pw" ] && ${pkgs.networkmanager}/bin/nmcli device wifi connect "$ssid" password "$pw" [ -n "$pw" ] && ${pkgs.networkmanager}/bin/nmcli device wifi connect "$ssid" password "$pw"
''; '';
nmcli = "${pkgs.networkmanager}/bin/nmcli"; nmcli = "${pkgs.networkmanager}/bin/nmcli";
# Follow stylix's monospace choice so a font swap propagates to the bar
monoFont = osConfig.stylix.fonts.monospace.name;
# Shell chrome fragment shader: the bar, screen frame, dropdown panel # Shell chrome fragment shader: the bar, screen frame, dropdown panel
# and toast are one signed-distance field merged with a circular # and toast are one signed-distance field merged with a circular
# smooth-min (caelestia-style liquid junctions); the 2px border is the # smooth-min (caelestia-style liquid junctions); the 2px border is the
@ -218,7 +217,7 @@ in
// colour animation stays in-hue instead of dipping through // colour animation stays in-hue instead of dipping through
// transparent *black* (which reads as an extra flash colour). // transparent *black* (which reads as an extra flash colour).
readonly property color base02t: "#00${c.base02}" readonly property color base02t: "#00${c.base02}"
readonly property string fontFamily: "${monoFont}" readonly property string fontFamily: "Rubik"
// Ligature-based icon font: text "volume_up" renders the icon // Ligature-based icon font: text "volume_up" renders the icon
readonly property string iconFont: "Material Symbols Rounded" readonly property string iconFont: "Material Symbols Rounded"
// Matches hyprland general.border_size (col.inactive_border = base03) // Matches hyprland general.border_size (col.inactive_border = base03)