Waybar : Add refresh interval for the battery.
This commit is contained in:
parent
0cf872126d
commit
8256fa18cc
|
@ -67,7 +67,8 @@ in {
|
||||||
"format-plugged": "{capacity}% ",
|
"format-plugged": "{capacity}% ",
|
||||||
"format-alt": "{time} {icon}",
|
"format-alt": "{time} {icon}",
|
||||||
"format-icons": ["", "", "", "", ""],
|
"format-icons": ["", "", "", "", ""],
|
||||||
"on-click-right": "powerlimit toggle"
|
"on-click-right": "powerlimit toggle",
|
||||||
|
"interval": ${toString(refreshInterval)},
|
||||||
},
|
},
|
||||||
"custom/powerlimit": {
|
"custom/powerlimit": {
|
||||||
"exec": "powerlimit waybar",
|
"exec": "powerlimit waybar",
|
||||||
|
|
Loading…
Reference in a new issue