Improve battery and network in waybar
This commit is contained in:
parent
0e386d6cde
commit
4a5ea07130
2 changed files with 12 additions and 3 deletions
|
@ -16,8 +16,8 @@
|
|||
"modules-right": [
|
||||
"tray",
|
||||
"idle_inhibitor",
|
||||
"battery",
|
||||
"power-profiles-daemon",
|
||||
"battery",
|
||||
"wireplumber",
|
||||
"bluetooth",
|
||||
"network"
|
||||
|
@ -56,7 +56,14 @@
|
|||
}
|
||||
},
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%"
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"power-profiles-daemon": {
|
||||
"format-icons": {
|
||||
|
@ -83,6 +90,7 @@
|
|||
"format-ethernet": " Wired",
|
||||
"format-wifi": " {essid}",
|
||||
"format-disconnected": " Disconnected",
|
||||
"on-click": "$TERMINAL -e nmtui",
|
||||
"tooltip-format-ethernet": "Interface: {ifname}\nIP: {ipaddr}\nGateway: {gwaddr}",
|
||||
"tooltip-format-wifi": "{frequency}GHz {signalStrength}%\n\nInterface: {ifname}\nIP: {ipaddr}\nGateway: {gwaddr}",
|
||||
"tooltip-format-disconnected": ""
|
||||
|
|
|
@ -100,7 +100,8 @@ button:hover {
|
|||
color: #15161e;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
#battery.critical:not(.charging),
|
||||
#battery.warning:not(.charging) {
|
||||
background-color: #f7768e;
|
||||
color: #15161e;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue