diff options
| author | ZachIR <zachir@librem.one> | 2025-07-30 05:06:51 -0500 |
|---|---|---|
| committer | ZachIR <zachir@librem.one> | 2025-07-30 05:06:51 -0500 |
| commit | 218e54aa900ba4e469a405f3e81bf00e024b228d (patch) | |
| tree | 1f5ae15079218c01e962f874e32d73d38420b23d /waybar/config | |
| parent | d1412fdffa7388d04c01a26ab89cef8151efde6e (diff) | |
Expand custom/battery module
Diffstat (limited to 'waybar/config')
| -rw-r--r-- | waybar/config | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/waybar/config b/waybar/config index 7775078..933dedc 100644 --- a/waybar/config +++ b/waybar/config @@ -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": "", |
