From 0061bb3a92f54c3b6ed6f8e32c73fa2ba6527501 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 16 Feb 2022 15:25:51 +0100 Subject: [waybar] add battery --- .config/waybar/config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.config/waybar/config') 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}" } -- cgit v1.2.3