diff options
author | Philip Gawehn <3gawehn@informatik.uni-hamburg.de> | 2018-03-14 21:39:49 +0100 |
---|---|---|
committer | Philip Gawehn <3gawehn@informatik.uni-hamburg.de> | 2018-03-14 21:39:49 +0100 |
commit | b14e1c99ff0e8c9983e9987e234dd3aa9c2e08ec (patch) | |
tree | 195c64749d46273b331f806922cded64fd97e3d0 /README.md | |
parent | b6514f9186740f633871fe546625bb916d6d9d68 (diff) | |
download | rofi-pass-b14e1c99ff0e8c9983e9987e234dd3aa9c2e08ec.tar.gz |
fixed loading multiple config files to one, see #118
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -77,14 +77,20 @@ in a convenient way using [rofi](https://github.com/DaveDavenport/rofi). ## Configuration -rofi-pass may read its configuration values from `/etc/rofi-pass.conf` and/or `$HOME/.config/rofi-pass/config`. -You can also set a configuration by using the environment variable ROFI_PASS_CONFIG (see example below). -For an example configuration please take a look at the included `config.example` file. +rofi-pass may read its configuration values from different locations in the following order: +* `ROFI_PASS_CONFIG` (environment variable) +* `$HOME/.config/rofi-pass/config` +* `/etc/rofi-pass.conf` +rofi-pass only loads the first existing file. +In case no config file exists, rofi-pass uses its internal default values. +You can set the environment variable like this: ``` ROFI_PASS_CONFIG="$HOME/path/to/config" rofi-pass ``` +For an example configuration please take a look at the included `config.example` file. + ## Extras ### addpass |