From b64116fac76469f61d4eba531cc4a8ccf5250072 Mon Sep 17 00:00:00 2001
From: Marty Oehme <marty.oehme@gmail.com>
Date: Fri, 24 Jan 2025 11:28:27 +0100
Subject: [PATCH] waybar: Switch tray and battery placement

Battery will always be displayed on the very right of the status bar
now, to easily find the indicator. Also removed the remaining time from
the alternative display which snuck in there accidentally - it can be
seen from the tooltip instead.
---
 desktop/.config/waybar/config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/desktop/.config/waybar/config b/desktop/.config/waybar/config
index 0ead00c..6f2a18e 100644
--- a/desktop/.config/waybar/config
+++ b/desktop/.config/waybar/config
@@ -2,7 +2,7 @@
     "layer": "top",
     "modules-left": ["river/tags", "custom/events", "custom/vidl", "river/window"],
     "modules-center": ["clock", "custom/media"],
-    "modules-right": ["river/mode", "custom/wireguard", "custom/archupdates", "pulseaudio", "backlight", "network", "cpu", "memory", "temperature", "battery", "tray"],
+    "modules-right": ["river/mode", "custom/wireguard", "custom/archupdates", "pulseaudio", "backlight", "network", "cpu", "memory", "temperature", "tray", "battery"],
     "custom/archupdates": {
         "format": "{icon}",
         "format-alt": "{} {icon}",
@@ -29,7 +29,7 @@
         "format": "{icon}",
         "format-warning": "{capacity}% {icon}",
         "format-critical": "{capacity}% {icon}",
-        "format-alt":"{capacity}% ({time}) {icon}",
+        "format-alt":"{capacity}% {icon}",
         "format-alt-click": "click-right",
         "format-icons": ["", "", "", "", ""],
         "interval": 10,