diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-05-04 13:24:10 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-05-04 13:28:24 +0300 |
commit | 90b8c5799d2073c36849ff0b4a1e7c32698306ae (patch) | |
tree | 0b8f30d8c0eeda67fd1e628b7f27cdb13ba752b6 /dotfiles/.config/waybar/modules.json | |
parent | 073210da5463f2e49944b7dbe4fde5faaf2d2fa5 (diff) | |
download | swayrice-90b8c5799d2073c36849ff0b4a1e7c32698306ae.tar.gz swayrice-90b8c5799d2073c36849ff0b4a1e7c32698306ae.zip |
waybar: even more style experiments
Adjusted for smaller laptop screen:
* Move modules out of the center; it looks nice when there's enough
screen real estate, not so good it starts to get cramped.
* Style clock a bit so that it stands out among the rest of the modules.
* Experiment with the clock position, still haven't decided where I like
it the most.
I now remembered why I stopped "ricing", too much wasted time...
Diffstat (limited to 'dotfiles/.config/waybar/modules.json')
-rw-r--r-- | dotfiles/.config/waybar/modules.json | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/dotfiles/.config/waybar/modules.json b/dotfiles/.config/waybar/modules.json index 8f47d63..51a80e3 100644 --- a/dotfiles/.config/waybar/modules.json +++ b/dotfiles/.config/waybar/modules.json @@ -6,12 +6,12 @@ "format": "{status_icon} {artist} - {title}", "format-stopped": "{status_icon} - ", "status-icons": { - "stopped": "", - "paused": "", + "stopped": "<span color=\"#d6cda3\"></span>", + "paused": "<span color=\"#d6cda3\"></span>", "playing": "<span color=\"#5b8277\"></span>" }, - "artist-len": 25, - "title-len": 40 + "artist-len": 20, + "title-len": 30 }, "tray": { "icon-size": 16, @@ -27,11 +27,11 @@ "interval": 1 }, "cpu": { - "format": "<span color=\"#e0d8b3\"></span> {load}%", + "format": "<span color=\"#d6cda3\"></span> {usage}%", "interval": 2 }, "memory": { - "format": "<span color=\"#e0d8b3\"></span> {used:0.3f}G", + "format": "<span color=\"#d6cda3\"></span> {used:0.3f}G", "states": { "warning": 90 }, @@ -47,7 +47,7 @@ }, "backlight": { // "device": "acpi_video1", - "format": "<span color=\"#5b8277\">{icon}</span> {percent}%", + "format": "<span color=\"#d6cda3\">{icon}</span> {percent}%", "format-icons": ["", ""] }, "battery#bat0": { @@ -83,8 +83,8 @@ "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>", + "format-alt": "<span color=\"#d6cda3\"></span> {ifname}: {bandwidthUpBits}<span color=\"#d6cda3\"></span> {bandwidthDownBits}<span color=\"#d6cda3\"></span>", + "tooltip-format": "{ifname}: {essid} {ipaddr}/{cidr} {bandwidthUpBits}<span color=\"#d6cda3\"></span> {bandwidthDownBits}<span color=\"#d6cda3\"></span>", "interval": 10 }, "wireplumber": { @@ -112,13 +112,13 @@ "exec": "barrecstatus" }, "custom/torrent-status": { - "format": "<span color=\"#e0d8b3\">{}</span>", + "format": "<span color=\"#d6cda3\">{}</span>", "signal": 10, "interval": "once", "exec": "bartorrentstatus" }, "custom/mail-status": { - "format": "<span color=\"#e0d8b3\"> </span>{}", + "format": "<span color=\"#d6cda3\"> </span>{}", "signal": 9, "interval": "once", "exec": "barmailstatus", @@ -163,8 +163,8 @@ "niri/language": { "on-click": "niri msg action switch-layout next", "on-click-right": "niri msg action switch-layout prev", - "format-en": " 🇺🇸 ", - "format-es": " 🇲🇽 ", - "format-ru": " 🇷🇺 " + "format-en": " 🇺🇸", + "format-es": " 🇲🇽", + "format-ru": " 🇷🇺" } } |