File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ list of plugins in this repository is as follows:
226
226
227
227
## Configuration
228
228
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
230
230
the config directory is as follows and should be respected by plugins:
231
231
232
232
```
@@ -235,7 +235,6 @@ the config directory is as follows and should be respected by plugins:
235
235
- <plugin dynamic libraries>
236
236
- config.ron
237
237
- style.css
238
- - state.ron # Optional, used to retain state when state saving is enabled
239
238
- <any plugin specific config files>
240
239
```
241
240
@@ -246,9 +245,9 @@ use them.
246
245
### State Saving
247
246
248
247
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
250
249
- 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
252
251
253
252
You can optionally set ` state_ttl_secs ` to automatically discard saved state after a certain time. For example:
254
253
``` ron
You can’t perform that action at this time.
0 commit comments