waybar: Switch to monospaced font

This lets us have consistent spacing across the icons without having to
worry about adding spaces manually.
This commit is contained in:
Donovan Glover 2022-04-12 13:44:55 -04:00
parent 3504314379
commit 991880dc59
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 10 additions and 10 deletions

View File

@ -30,34 +30,34 @@
"format-alt": "{:%Y-%m-%d}" "format-alt": "{:%Y-%m-%d}"
}, },
"backlight": { "backlight": {
"format": "{icon} {percent}%", "format": "{icon} {percent}%",
"format-icons": ["", ""] "format-icons": ["", ""]
}, },
"memory": { "memory": {
"interval": 30, "interval": 30,
"format": " {}%" "format": " {}%"
}, },
"battery": { "battery": {
"states": { "states": {
"warning": 20, "warning": 20,
"critical": 10 "critical": 10
}, },
"format": "{icon} {capacity}%", "format": "{icon} {capacity}%",
"format-charging": "{capacity}% ", "format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ", "format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}", "format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""] "format-icons": ["", "", "", "", ""]
}, },
"network": { "network": {
"format-wifi": " ({signalStrength}%)", "format-wifi": " ({signalStrength}%)",
"format-ethernet": " {ifname}: {ipaddr}/{cidr}", "format-ethernet": " {ifname}: {ipaddr}/{cidr}",
"format-linked": " {ifname} (No IP)", "format-linked": " {ifname} (No IP)",
"format-disconnected": "⚠ Disconnected", "format-disconnected": "⚠ Disconnected",
"format-alt": "{ifname}: {ipaddr}/{cidr}" "format-alt": "{ifname}: {ipaddr}/{cidr}"
}, },
"pulseaudio": { "pulseaudio": {
"format": "{icon} {volume}%", "format": "{icon} {volume}%",
"format-muted": "🔇 Muted", "format-muted": "🔇 Muted",
"format-icons": { "format-icons": {
"default": ["", "", ""] "default": ["", "", ""]
}, },

View File

@ -1,7 +1,7 @@
@import url("../../.cache/wal/colors-waybar.css"); @import url("../../.cache/wal/colors-waybar.css");
* { * {
font-family: "Noto Sans CJK JP, Font Awesome 6 Free"; font-family: "Fira Mono, Noto Sans CJK JP, Font Awesome 6 Free";
} }
window#waybar { window#waybar {