1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[Doc] Clarify documentation for User Script directory.

Fixes: #2043
This commit is contained in:
Dave Davenport 2024-10-26 12:07:47 +02:00
parent 9d785b5ce1
commit 08989ab4fc

View file

@ -184,11 +184,20 @@ To specify a script there are the following options:
- Specify an absolute path to the script. - Specify an absolute path to the script.
- The script is executable and located in your $PATH - The script is executable and located in your $PATH
Scripts located in the following location are loaded on startup: Scripts located in the following location are **loaded** on startup
and can be directly launched based on the filename (without extension):
- The script is in `$XDG_CONFIG_PATH/rofi/scripts/`, this is usually - The script is in `$XDG_CONFIG_HOME/rofi/scripts/`, this is usually
`~/.config/rofi/scripts/`. `~/.config/rofi/scripts/`.
If you have a script 'mymode.sh' in this folder you can open it using:
```bash
rofi -show mymode
```
See `rofi -h` output for a list of detected scripts.
## SEE ALSO ## SEE ALSO
rofi(1), rofi-sensible-terminal(1), dmenu(1), rofi-theme(5), rofi(1), rofi-sensible-terminal(1), dmenu(1), rofi-theme(5),