[engine] Fix interval configuration

Until now, manually specifying an interval did not work, as a cast to
float was missing. Now, it's possible to specify an update interval in
seconds via "-p interval=<interval>"

fixes #54
This commit is contained in:
Tobias Witek 2017-03-16 21:04:24 +01:00
parent b710900875
commit b20e83cb8a
2 changed files with 6 additions and 1 deletions

View file

@ -51,6 +51,11 @@ $ ./bumblebee-status -l themes
$ ./bumblebee-status -l modules
```
To change the update interval, use:
```
$ ./bumblebee-status -m <list of modules> -p interval=<interval in seconds>
```
As a simple example, this is what my i3 configuration looks like:
```