From 1704c5973954d0348a98253b0768ead1bb01b604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik.tjader@nordicsemi.no> Date: Sat, 29 Jun 2024 19:33:25 +0200 Subject: [PATCH] Increase font, remove config color spans --- .config/waybar/config.jsonc | 19 ++++++++++--------- .config/waybar/style.css | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index b37ba44..1deae93 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -100,7 +100,7 @@ "tooltip-format-disconnected": "MPD (disconnected)" }, "idle_inhibitor": { - "format": "<span color='#589df6'>{icon}</span>", + "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" @@ -129,13 +129,14 @@ // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, // "format-critical": "{temperatureC}°C {icon}", - "format": "<span color='#e88939'>{icon}</span> {temperatureC}°C", + "format": "{icon}{temperatureC}°C", "format-icons": ["", "", ""] }, "backlight": { // "device": "acpi_video1", "format": "{icon} {percent}%", - "format-icons": ["🔅", "🔆"] + //"format-icons": ["🔅", "🔆"] + "format-icons": ["", "", "", "", "", "", "", "", ""] }, "battery": { "states": { @@ -143,10 +144,10 @@ "warning": 30, "critical": 15 }, - "format": "<span color='#e88939'>{icon}</span> {capacity}% ({time})", + "format": "{icon} {capacity}% ({time})", // "format-full": "{capacity}% {icon}", - "format-charging": "<span color='#e88939'> </span> {capacity}%", - "format-plugged": "<span color='#e88939'>{icon} </span> {capacity}% ({time})", + "format-charging": " {capacity}%", + "format-plugged": "{icon} {capacity}% ({time})", "format-alt": "{time} {icon}", // "format-good": "", // An empty format will hide the module // "format-full": "", @@ -169,7 +170,7 @@ "network": { "family": "ipv4", // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": "<span color='#589df6'></span> <span color='gray'>{essid}</span> {frequency} <span color='#589df6'>{signaldBm} dB</span> <span color='#589df6'>⇵</span>", + "format-wifi": "< {essid} {frequency} {signaldBm} dB⇵", //"format-wifi": "<span color='#589df6'></span> <span color='gray'>{essid}</span> {frequency} <span color='#589df6'>{signaldBm} dB</span> <span color='#589df6'>⇵</span> {bandwidthUpBits}/{bandwidthDownBits}", "format-ethernet": "{ifname}: {ipaddr}/{cidr} ", "format-linked": "{ifname} (No IP) ", @@ -188,8 +189,8 @@ "format-source-muted": "", "format-icons": { - "headphones": "", - "handsfree": "", + "headphone": "", + "hands-free": "", "headset": "", "phone": "", "portable": "", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index be39766..7e83028 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -1,7 +1,7 @@ * { /* `otf-font-awesome` is required to be installed for icons */ font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; - font-size: 12px; + font-size: 13px; } window#waybar { -- GitLab