aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMoritz Meißelbach <arbelzapf@gmail.com>2020-09-22 21:46:13 +0200
committerGitHub <noreply@github.com>2020-09-22 21:46:13 +0200
commit9859390621dbddcdd6447df55e17a8a0f6e5d5c5 (patch)
tree947b419af5af42ca7efe56b2fbedc18aeb87fefc /README.md
parent889c3b6a23d2a4f35089fe393e0687931c269e0c (diff)
parent343ab8c6bb863a69ae25bf4a68ba8881b6205eec (diff)
downloadsway-launcher-desktop-9859390621dbddcdd6447df55e17a8a0f6e5d5c5.tar.gz
sway-launcher-desktop-9859390621dbddcdd6447df55e17a8a0f6e5d5c5.zip
Merge pull request #26 from s-hamann/configurable_history
Make history file configurable
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 656447d..936f6ea 100644
--- a/README.md
+++ b/README.md
@@ -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`