feat(waybar): update module spacing

* Add spacing to memory, cpu, audio, keyboard, and battery modules to separate the modules from each other a little more and get a more consistent look on the bar.
* Update the icons for memory, cpu (so the icon looks more like what it actually is)
This commit is contained in:
BluishHumility
2024-07-30 23:28:41 -04:00
parent 63f29b2927
commit 11f4728f47

View File

@@ -87,7 +87,7 @@
"memory": { "memory": {
"interval": 5, "interval": 5,
"format": " {}%", // Icon: memory "format": "{:>3}% ",
"on-click": "footclient -T waybar_htop -e htop", "on-click": "footclient -T waybar_htop -e htop",
"states": { "states": {
"warning": 70, "warning": 70,
@@ -97,7 +97,7 @@
"cpu": { "cpu": {
"interval": 5, "interval": 5,
"format": "{usage}% ({load})", // Icon: microchip "format": "{usage:>3}% ",
"states": { "states": {
"warning": 70, "warning": 70,
"critical": 90, "critical": 90,
@@ -107,8 +107,8 @@
"pulseaudio": { "pulseaudio": {
"scroll-step": 2, "scroll-step": 2,
"format": "{icon} {volume}%", "format": "{icon} {volume}% ",
"format-muted":"󰝟 muted", "format-muted":"󰝟 muted ",
"format-icons": { "format-icons": {
"headphones": "", "headphones": "",
"handsfree": "", "handsfree": "",
@@ -123,7 +123,7 @@
"custom/keyboard-layout": { "custom/keyboard-layout": {
"exec": "i=$(swaymsg -t get_inputs); echo \"\"; echo \"$i\" | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4", "exec": "i=$(swaymsg -t get_inputs); echo \"\"; echo \"$i\" | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
"format": "", "format": " ",
// Interval set only as a fallback; use signal to update the module more immediately // Interval set only as a fallback; use signal to update the module more immediately
"interval": 30, "interval": 30,
// See example config for sending signal to Waybar in ~/.config/sway/config.d/input // See example config for sending signal to Waybar in ~/.config/sway/config.d/input
@@ -136,7 +136,7 @@
"warning": 30, "warning": 30,
"critical": 15 "critical": 15
}, },
"format": "{icon} {capacity}%", "format": "{icon} {capacity}% ",
"format-icons": ["", "", "", "", ""] "format-icons": ["", "", "", "", ""]
}, },