style(themes): brand the launcher mark and rework waybar icon sizing
All checks were successful
Check / eval (push) Successful in 3m11s
All checks were successful
Check / eval (push) Successful in 3m11s
- Pin `font-family: Nomarchy` on #custom-nomarchy (boreal, executive-slate) so the branded mark at U+F000 wins over the Nerd Font's glass glyph at the same codepoint (summer bars already pinned it). - Enlarge the icons on icon+text modules via a Pango span, with a gap so the glyph no longer crowds the value. The volume module gets a wider gap: its level glyph is unusually wide and overlapped the % otherwise. - Bump icon-only status modules (caffeine, speedometer, …) to match, so they don't read smaller than their neighbours. The generated bar sizes everything relative to fonts.size (+2/+3pt) so it scales per theme. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -74,10 +74,13 @@ window#waybar {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ── Launcher — the aurora-violet monogram opens the pill ─────────────*/
|
||||
/* ── Launcher — the aurora-violet Nomarchy mark opens the pill ────────
|
||||
The mark lives at U+F000 in the dedicated "Nomarchy" font; pin the
|
||||
family or the Nerd Font's glass glyph at the same codepoint wins. */
|
||||
#custom-nomarchy {
|
||||
color: @accent;
|
||||
font-size: 16px;
|
||||
font-family: Nomarchy;
|
||||
font-size: 18px;
|
||||
padding: 0 12px 0 14px;
|
||||
}
|
||||
#custom-nomarchy:hover { color: @accentAlt; }
|
||||
@@ -126,8 +129,19 @@ window#waybar {
|
||||
#battery.warning:not(.charging) { color: @warn; }
|
||||
#battery.critical:not(.charging) { color: @bad; }
|
||||
|
||||
/* Power-profile speedometer renders small in its em box — size it up. */
|
||||
#custom-powerprofile { font-size: 16px; }
|
||||
/* Icon-only status modules carry no text, so they don't get the 13pt
|
||||
Pango icon span the icon+text modules (volume/battery/language) use —
|
||||
bump their font-size to match, or these glyphs read noticeably smaller
|
||||
than their neighbours. */
|
||||
#custom-recording,
|
||||
#custom-updates,
|
||||
#custom-doctor,
|
||||
#custom-nightlight,
|
||||
#custom-vpn,
|
||||
#custom-notification { font-size: 17px; }
|
||||
/* Speedometer + caffeine cup render small in their em box — a touch more. */
|
||||
#custom-powerprofile,
|
||||
#idle_inhibitor { font-size: 18px; }
|
||||
|
||||
#custom-notification.notification { color: @accent; }
|
||||
#custom-notification.dnd-none,
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
"on-click": "nomarchy-nightlight toggle"
|
||||
},
|
||||
"hyprland/language": {
|
||||
"format": " {short}",
|
||||
"format": "<span size='13pt'></span> {short}",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/vpn": {
|
||||
@@ -98,10 +98,10 @@
|
||||
},
|
||||
"pulseaudio": {
|
||||
"scroll-step": 5,
|
||||
"format": "{icon} {volume}%",
|
||||
"format-bluetooth": "{icon} {volume}%",
|
||||
"format": "<span size='13pt'>{icon}</span> {volume}%",
|
||||
"format-bluetooth": "<span size='13pt'>{icon}</span> {volume}%",
|
||||
"format-bluetooth-muted": " {icon}",
|
||||
"format-muted": " muted",
|
||||
"format-muted": "<span size='13pt'></span> muted",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
@@ -124,9 +124,9 @@
|
||||
"warning": 25,
|
||||
"critical": 10
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format": "<span size='13pt'>{icon}</span> {capacity}%",
|
||||
"format-charging": "<span size='13pt'></span> {capacity}%",
|
||||
"format-plugged": "<span size='13pt'></span> {capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user