Waybar : Add refresh interval for the battery.

This commit is contained in:
Dmitry Voronin 2024-05-24 02:13:39 +03:00
parent 0cf872126d
commit 8256fa18cc
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -67,7 +67,8 @@ in {
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["󰂎", "󱊡", "󱊢", "󱊣", "󱊣"],
"on-click-right": "powerlimit toggle"
"on-click-right": "powerlimit toggle",
"interval": ${toString(refreshInterval)},
},
"custom/powerlimit": {
"exec": "powerlimit waybar",