[README] Add information about configuration files
This commit is contained in:
parent
ab989d8ddf
commit
753ac453c6
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -53,6 +53,22 @@ $ ./bumblebee-status -l themes
|
|||
$ ./bumblebee-status -l modules
|
||||
```
|
||||
|
||||
Any parameter you can specify with `-p <name>=<value>`, you can alternatively specify in `~/.bumblebee-status.conf` or `~/.config/bumblebee-status.conf`.
|
||||
|
||||
Configuration files have a format like this:
|
||||
```
|
||||
$ cat ~/.bumblebee-status.conf
|
||||
[module-parameters]
|
||||
<key> = <value>
|
||||
```
|
||||
|
||||
For example:
|
||||
```
|
||||
$ cat ~/.bumblebee-status.conf
|
||||
[module-parameters]
|
||||
github.token=abcdefabcdef12345
|
||||
```
|
||||
|
||||
To change the update interval, use:
|
||||
```
|
||||
$ ./bumblebee-status -m <list of modules> -p interval=<interval in seconds>
|
||||
|
|
Loading…
Reference in a new issue