Skip to content

Commit d578288

Browse files
committed
doc: fix doc file locations
1 parent 5fd356e commit d578288

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ list of plugins in this repository is as follows:
226226

227227
## Configuration
228228

229-
The default configuration directory is `$HOME/.config/anyrun` the structure of
229+
The default configuration directory in the config dir (`$XDG_CONFIG_HOME/anyrun` or `$HOME/.config/anyrun`), the structure of
230230
the config directory is as follows and should be respected by plugins:
231231

232232
```
@@ -235,7 +235,6 @@ the config directory is as follows and should be respected by plugins:
235235
- <plugin dynamic libraries>
236236
- config.ron
237237
- style.css
238-
- state.ron # Optional, used to retain state when state saving is enabled
239238
- <any plugin specific config files>
240239
```
241240

@@ -246,9 +245,9 @@ use them.
246245
### State Saving
247246

248247
When `persist_state` is set to `true` in the config, Anyrun will:
249-
- Save the input text to `state.ron` when the window is closed
248+
- Save the input text to a state file (`$XDG_STATE_HOME/anyrun` or `$HOME/.local/state/anyrun`), when the window is closed
250249
- Restore this text when Anyrun is launched again
251-
- Clear the saved state when a match is selected
250+
- Clear the saved state when a match is selected or copied
252251

253252
You can optionally set `state_ttl_secs` to automatically discard saved state after a certain time. For example:
254253
```ron

0 commit comments

Comments
 (0)