diff options
Diffstat (limited to 'waybar/config')
-rw-r--r-- | waybar/config | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/waybar/config b/waybar/config index 3215a86..719ada4 100644 --- a/waybar/config +++ b/waybar/config @@ -160,8 +160,8 @@ "format": "{}% " }, "battery": { - //"bat": "BAT0", - //"interval": 60, + "bat": "BAT0", + "interval": 60, "state": { "warning": 30, "critical": 15 @@ -215,9 +215,11 @@ //"on-click-right": "killall rofi" }, "custom/battery":{ - "interval": 60, - "format": "{}%", - "exec": "cat /sys/class/power_supply/BAT0/capacity", + "interval": 15, + "format": "{percentage}%", + "return-type": "json", + "exec": "custom-battery", + "tooltip": true, }, "custom/power":{ "format": "", |