Unknown
or Full
).2%
rendering a percentage with two decimals.[battery-poly] command=$SCRIPT_DIR/battery-poly LABEL=BAT interval=5
Two positional arguments are supported; battery-threshold as float and percentage formatting as Python formatting string.
To configure battery-poly for a battery-threshold of 42%, edit the command
-line as such:
[battery-poly] command=$SCRIPT_DIR/battery-poly 0.42
If no decimals are desired for the percentage and battery-threshold is not to be changed, simply put the default value as follows:
[battery-poly] command=$SCRIPT_DIR/battery-poly 1.0 .0%