summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-02-16 15:25:51 +0100
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commit0061bb3a92f54c3b6ed6f8e32c73fa2ba6527501 (patch)
tree3fe1827793ad9a29d90fd26dd8f27c5288902b23
parent547e9fe298bbdfe0517142c8d964ca98a10768da (diff)
[waybar] add battery
-rw-r--r--.config/waybar/config7
1 files changed, 6 insertions, 1 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index 3a900ab..292d589 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -2,7 +2,7 @@
"layer": "top",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
- "modules-right": ["tray", "custom/alsa", "network", "clock"],
+ "modules-right": ["tray", "custom/alsa", "network", "battery", "clock"],
"sway/window": {
"max-length": 100
},
@@ -22,6 +22,11 @@
"format-disconnected": "Offline",
"interval": 86400
},
+ "battery": {
+ "format": "E {capacity}%",
+ "format-full": "",
+ "full-at": 94
+ },
"clock": {
"format": "{:%a %d. %b %H:%M}"
}