summaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-01-11 14:01:40 -0600
committerzachir <zachir@librem.one>2024-01-11 14:05:01 -0600
commit05e8093ec8f8955dadaa29d65d811c6122084757 (patch)
tree1bcfdce158466ad6db80ced90823291635c2e874 /waybar
parenta6309f12fe1b589307ef4f14bc3e88dce9f28617 (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')
-rw-r--r--waybar/config30
1 files changed, 10 insertions, 20 deletions
diff --git a/waybar/config b/waybar/config
index 0590008..c7035b7 100644
--- a/waybar/config
+++ b/waybar/config
@@ -81,6 +81,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",
@@ -102,26 +112,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}%) ",