From 753ac453c6f66b19f3b9676b2e9c282585b3e068 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Wed, 12 Jul 2017 18:42:02 +0200 Subject: [PATCH] [README] Add information about configuration files --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 9b77101..5ed5f53 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,22 @@ $ ./bumblebee-status -l themes $ ./bumblebee-status -l modules ``` +Any parameter you can specify with `-p =`, 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] + = +``` + +For example: +``` +$ cat ~/.bumblebee-status.conf +[module-parameters] +github.token=abcdefabcdef12345 +``` + To change the update interval, use: ``` $ ./bumblebee-status -m -p interval=