fix: update waybar to match polybar config (for the most part)
This commit is contained in:
@@ -3,23 +3,55 @@
|
|||||||
"height": 16,
|
"height": 16,
|
||||||
"spacing": 4,
|
"spacing": 4,
|
||||||
"modules-left": ["niri/workspaces"],
|
"modules-left": ["niri/workspaces"],
|
||||||
"modules-center": ["sway/window"],
|
"modules-right": [
|
||||||
"modules-right": ["battery", "clock"],
|
"pulseaudio",
|
||||||
|
"memory",
|
||||||
|
"cpu",
|
||||||
|
"network",
|
||||||
|
"clock",
|
||||||
|
"battery",
|
||||||
|
],
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "W{:%V %d %b %H:%M}",
|
"format": "W{:%V %d %b %H:%M}",
|
||||||
"tooltip-format": "{calendar}",
|
"tooltip-format": "{calendar}",
|
||||||
"format-alt": "{:%Y-%m-%d %H:%M:%S}",
|
"format-alt": "{:%Y-%m-%d %H:%M:%S}",
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
|
"bat": "BAT0",
|
||||||
|
"adapter": "ADP1",
|
||||||
|
"interval": 5,
|
||||||
|
"full-at": 99,
|
||||||
"states": {
|
"states": {
|
||||||
"good": 80,
|
"good": 80,
|
||||||
"warning": 20,
|
"warning": 20,
|
||||||
"critical": 10,
|
"critical": 10,
|
||||||
},
|
},
|
||||||
"format": "{capacity}%",
|
"format": "{capacity}%--",
|
||||||
"format-charging": "↑{capacity}%",
|
"format-charging": "{capacity}%++",
|
||||||
"format-plugged": "{capacity}%",
|
"format-plugged": "{capacity}%",
|
||||||
"format-alt": "{time}",
|
"format-alt": "{time} {power}W",
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "VOL {volume}%",
|
||||||
|
"format-muted": "muted",
|
||||||
|
"on-click": "pavucontrol",
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"interval": 2,
|
||||||
|
"format": "RAM {percentage}%",
|
||||||
|
"format-alt": "RAM {used:0.1f}G/{total:0.1f}G",
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"interval": 2,
|
||||||
|
"format": "CPU {usage}%",
|
||||||
|
"format-alt": "CPU {avg_frequency}GHz",
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"interval": 5,
|
||||||
|
"format-wifi": "{ifname} {ipaddr} {essid}",
|
||||||
|
"format-ethernet": "{ifname} {ipaddr}",
|
||||||
|
"format-disconnected": "{ifname} disconnected",
|
||||||
|
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -40,7 +40,11 @@ window#waybar.hidden {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#clock,
|
#clock,
|
||||||
#battery {
|
#battery,
|
||||||
|
#pulseaudio,
|
||||||
|
#memory,
|
||||||
|
#cpu,
|
||||||
|
#network {
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background-color: #111111;
|
background-color: #111111;
|
||||||
|
|||||||
Reference in New Issue
Block a user