From a3bb1315f922dc106fc027ba7ed8f935e6864750 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Tue, 17 Jun 2025 04:39:19 +0200 Subject: added waybar entry for second battery --- home-config/waybar/config | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'home-config/waybar/config') diff --git a/home-config/waybar/config b/home-config/waybar/config index 375835e..abe0762 100644 --- a/home-config/waybar/config +++ b/home-config/waybar/config @@ -5,7 +5,7 @@ "modules-left": ["hyprland/workspaces", "hyprland/submap"], "modules-center": ["hyprland/window"], - "modules-right": ["tray", "custom/spotify", "privacy", "custom/weather", "custom/mail", "custom/storage", "backlight", "bluetooth", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], + "modules-right": ["tray", "custom/spotify", "privacy", "custom/weather", "custom/mail", "custom/storage", "backlight", "bluetooth", "pulseaudio", "network", "idle_inhibitor", "battery", "battery#num2", "clock"], "hyprland/submap": { "format": " {}" }, @@ -24,6 +24,19 @@ "tooltip": false }, "battery": { + "format": "{capacity}% {icon}", + "format-alt": "{time} {icon}", + "format-icons": ["", "", "", "", ""], + "format-charging": "{capacity}% ", + "interval": 30, + "states": { + "warning": 25, + "critical": 10 + }, + "tooltip": false, + "bat":"BAT0" + }, + "battery#num2": { "format": "{capacity}% {icon}", "format-alt": "{time} {icon}", "format-icons": ["", "", "", "", ""], -- cgit v1.2.3