diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-05-04 12:40:56 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-05-04 12:40:56 +0300 |
commit | 1fa4b62d678fc0b21f976a9c01582101df5996cd (patch) | |
tree | d357c1f4a969bc6a7ff64ddb4150c38740953596 /dotfiles/.config/waybar | |
parent | 8f01f1417063da96214e1e2a011cb681b021a70a (diff) | |
download | swayrice-1fa4b62d678fc0b21f976a9c01582101df5996cd.tar.gz swayrice-1fa4b62d678fc0b21f976a9c01582101df5996cd.zip |
waybar: way more style changes
Diffstat (limited to 'dotfiles/.config/waybar')
-rw-r--r-- | dotfiles/.config/waybar/modules.json | 22 | ||||
-rw-r--r-- | dotfiles/.config/waybar/style.css | 4 |
2 files changed, 14 insertions, 12 deletions
diff --git a/dotfiles/.config/waybar/modules.json b/dotfiles/.config/waybar/modules.json index 2c93756..8f47d63 100644 --- a/dotfiles/.config/waybar/modules.json +++ b/dotfiles/.config/waybar/modules.json @@ -31,7 +31,7 @@ "interval": 2 }, "memory": { - "format": "<span color=\"#e0d8b3\"> </span> {used:0.3f}G", + "format": "<span color=\"#e0d8b3\"></span> {used:0.3f}G", "states": { "warning": 90 }, @@ -53,7 +53,7 @@ "battery#bat0": { "bat": "BAT0", "format": "{icon} {capacity}%", - "format-charging": " <span color=\"#5b8277\"></span> {capacity}%", + "format-charging": "<span color=\"#5b8277\"></span> {capacity}%", "format-plugged": "<span color=\"#5b8277\"></span> {capacity}%", "format-icons": [ "<span color=\"#b73030\"></span>", @@ -66,7 +66,7 @@ "battery#bat1": { "bat": "BAT1", "format": "{icon} {capacity}%", - "format-charging": " <span color=\"#5b8277\"></span> {capacity}%", + "format-charging": "<span color=\"#5b8277\"></span> {capacity}%", "format-plugged": "<span color=\"#5b8277\"></span> {capacity}%", "format-icons": [ "<span color=\"#b73030\"></span>", @@ -78,12 +78,14 @@ }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": "<span color=\"#5b8277\"></span> {essid}", - "format-ethernet": "<span color=\"#5b8277\"></span> {ifname}", - "format-linked": "<span color=\"#5b8277\"></span> {ifname}", - "format-disconnected": " disconnected", - "format-alt": "{ifname}: {ipaddr}/{cidr}", - "tooltip-format": "{ifname}: {ipaddr}/{cidr}" + "format-wifi": "<span color=\"#5b8277\"></span>", + "format-ethernet": "<span color=\"#5b8277\"></span>", + "format-linked": "<span color=\"#b2872f\"></span>", + "format-disconnected": "<span color=\"#b2872f\"></span>", + "format-disabled": "<span color=\"#b73030\"></span>", + "format-alt": "<span color=\"#e0d8b3\"></span> {ifname}: {bandwidthUpBits}<span color=\"#e0d8b3\"></span> {bandwidthDownBits}<span color=\"#e0d8b3\"></span>", + "tooltip-format": "{ifname}: {essid} {ipaddr}/{cidr} {bandwidthUpBits}<span color=\"#e0d8b3\"></span> {bandwidthDownBits}<span color=\"#e0d8b3\"></span>", + "interval": 10 }, "wireplumber": { "scroll-step": 2, // %, can be a float @@ -164,5 +166,5 @@ "format-en": " 🇺🇸 ", "format-es": " 🇲🇽 ", "format-ru": " 🇷🇺 " - }, + } } diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css index e69365a..09fac8b 100644 --- a/dotfiles/.config/waybar/style.css +++ b/dotfiles/.config/waybar/style.css @@ -38,11 +38,11 @@ window#waybar { } #workspaces { padding: 0; - margin: 3px; + margin: 6px; background: #4a4842; } #workspaces button { - padding: 0 0.75em; + padding: 0 0.5em; color: #fcf8e2; border-radius: 0; border: 1px solid #1e1e23; |