diff options
| author | Sebastian Hamann <code@ares-macrotechnology.com> | 2020-09-21 20:46:08 +0200 |
|---|---|---|
| committer | Sebastian Hamann <code@ares-macrotechnology.com> | 2020-09-21 20:46:08 +0200 |
| commit | 343ab8c6bb863a69ae25bf4a68ba8881b6205eec (patch) | |
| tree | 947b419af5af42ca7efe56b2fbedc18aeb87fefc /README.md | |
| parent | 889c3b6a23d2a4f35089fe393e0687931c269e0c (diff) | |
| download | sway-launcher-desktop-343ab8c6bb863a69ae25bf4a68ba8881b6205eec.tar.gz sway-launcher-desktop-343ab8c6bb863a69ae25bf4a68ba8881b6205eec.zip | |
Make history file configurable
If the variable HIST_FILE is set, it overrides the default history file
location.
If it is set to an empty value, history is neither read nor written.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -65,6 +65,13 @@ Note: Pass the environment variable `PROVIDERS_FILE` to read custom providers fr The path in `PROVIDERS_FILE` can either be absolute or relative to `${HOME}/.config/sway-launcher-desktop/`. +## Launcher history file + +By default, `sway-launcher-desktop` stores a history of commands to make frequently used entries available more quickly. +This history is stored in a file in `~/.cache/` (or `$XDG_CACHE_HOME`, if that environment variable is set). +You may change the file path and name by setting the environment variable `HIST_FILE` to the desired path. +Setting the variable to an empty value disables the history feature entirely. + ## Troubleshooting Debug information is directed to file descriptor `3` and can be dumped using `./sway-launcher-desktop.sh 3>> ~/sway-launcher-desktop.log` |
