diff options
author | zachir <zachir@librem.one> | 2024-01-11 14:01:40 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2024-01-12 07:38:43 -0600 |
commit | 2aad556c5d1961d962ce1e9d7fc92011d71192ab (patch) | |
tree | 62220d303126956c292ee0bbcc04c813de032197 /waybar/config | |
parent | 0c541e21996cca4496881ef7ae7751684b97830c (diff) |
waybar: clean up battery config
Change the battery config to just use stuff that I want in it, rather
than copying off of someone else's config.
Diffstat (limited to 'waybar/config')
-rw-r--r-- | waybar/config | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/waybar/config b/waybar/config index 6935e59..1216d15 100644 --- a/waybar/config +++ b/waybar/config @@ -110,6 +110,16 @@ "memory": { "format": "{}% " }, + "battery": { + "bat": "BAT0", + "interval": 60, + "state": { + "warning": 30, + "critical": 15 + }, + "format": "{capacity}%", + "max-length": 25 + }, "temperature#cpu": { // "thermal-zone": 2, "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input", @@ -131,26 +141,6 @@ "format": "{percent}%" //"format-icons": ["", ""] }, - "battery": { - "states": { - // "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{capacity}%", - "format-charging": "{capacity}% +", - "format-plugged": "{capacity}% =", - "format-alt": "{time}", - // "format-good": "", // An empty format will hide the module - // "format-full": "", - //"format-icons": ["", "", "", "", ""] - }, - "battery#bat0": { - "bat": "BAT0" - }, - "battery#bat1": { - "bat": "BAT1" - }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "{essid} ({signalStrength}%) ", |