From 991880dc59a9436afd8f496df080c5aa28239f30 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 12 Apr 2022 13:44:55 -0400 Subject: [PATCH] waybar: Switch to monospaced font This lets us have consistent spacing across the icons without having to worry about adding spaces manually. --- waybar/.config/waybar/config | 18 +++++++++--------- waybar/.config/waybar/style.css | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config index 3baa42d3..738ed144 100644 --- a/waybar/.config/waybar/config +++ b/waybar/.config/waybar/config @@ -30,34 +30,34 @@ "format-alt": "{:%Y-%m-%d}" }, "backlight": { - "format": "{icon} {percent}%", + "format": "{icon} {percent}%", "format-icons": ["", ""] }, "memory": { "interval": 30, - "format": " {}%" + "format": " {}%" }, "battery": { "states": { "warning": 20, "critical": 10 }, - "format": "{icon} {capacity}%", + "format": "{icon} {capacity}%", "format-charging": "{capacity}% ", "format-plugged": "{capacity}% ", "format-alt": "{time} {icon}", "format-icons": ["", "", "", "", ""] }, "network": { - "format-wifi": " ({signalStrength}%)", - "format-ethernet": " {ifname}: {ipaddr}/{cidr}", - "format-linked": " {ifname} (No IP)", - "format-disconnected": "⚠ Disconnected", + "format-wifi": " ({signalStrength}%)", + "format-ethernet": " {ifname}: {ipaddr}/{cidr}", + "format-linked": " {ifname} (No IP)", + "format-disconnected": "⚠ Disconnected", "format-alt": "{ifname}: {ipaddr}/{cidr}" }, "pulseaudio": { - "format": "{icon} {volume}%", - "format-muted": "🔇 Muted", + "format": "{icon} {volume}%", + "format-muted": "🔇 Muted", "format-icons": { "default": ["", "", ""] }, diff --git a/waybar/.config/waybar/style.css b/waybar/.config/waybar/style.css index 6b167cee..cb05cd19 100644 --- a/waybar/.config/waybar/style.css +++ b/waybar/.config/waybar/style.css @@ -1,7 +1,7 @@ @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 {