feat(waybar): update

This commit is contained in:
2026-02-20 17:53:06 +01:00
parent f84cd6d66a
commit e5659ce2ff
2 changed files with 19 additions and 4 deletions

View File

@@ -15,10 +15,11 @@
"pulseaudio", "pulseaudio",
"clock", "clock",
"clock#simpleclock", "clock#simpleclock",
"network",
"battery", "battery",
"tray", "tray",
"custom/notification", "custom/notification",
"custom/power", "custom/power"
], ],
"custom/spotify": { "custom/spotify": {
"format": " {}", "format": " {}",
@@ -87,14 +88,14 @@
"format": "{icon} {volume}%", "format": "{icon} {volume}%",
"format-muted": " muted", "format-muted": " muted",
"format-icons": { "format-icons": {
"headphone": "", "headphone": " ",
"default": [" ", " ", " "], "default": [" ", " ", " "],
}, },
"on-click": "pavucontrol", "on-click": "pavucontrol",
}, },
"battery": { "battery": {
"format": "{icon} {capacity}%", "format": "{icon} {capacity}%",
"format-icons": ["", "", "", "", ""], "format-icons": [" ", " ", " ", " ", " "],
"states": { "states": {
"critical": 25, "critical": 25,
}, },
@@ -124,4 +125,17 @@
"return-type": "json", "return-type": "json",
"tooltip": false, "tooltip": false,
}, },
"network": {
"interface": "wlp1s0",
"format": "{ifname}",
"format-icons": ["󰤟 ", "󰤢 ", "󰤥 ", "󰤨 "],
"format-wifi": "{icon}",
"format-ethernet": "󰈀 {ifname}",
"format-disconnected": "󰤮 ",
"tooltip-format": "{ifname}",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50
}
} }

View File

@@ -52,6 +52,7 @@ window#waybar.empty #window {
#tray, #tray,
#memory, #memory,
#battery, #battery,
#network,
#window, #window,
#mpris { #mpris {
padding: 0.1rem 0.6rem; padding: 0.1rem 0.6rem;