add battery to waybar

This commit is contained in:
2026-03-05 17:28:09 +00:00
parent bac669b82a
commit a0e93e2e98
3 changed files with 28 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
"memory",
"disk",
"network",
"battery",
"clock",
"tray"
],
@@ -95,6 +96,14 @@
"tooltip": false
},
"battery": {
"format": "BAT: {capacity}%",
"format-charging": "BAT: {capacity}% CHR",
"format-plugged": "BAT: {capacity}% PLG",
"interval": 30,
"tooltip": false
},
"clock": {
"format": "{:%Y-%m-%d %H:%M}",
"interval": 1,