Skip to content

Commit 08989ab

Browse files
committed
[Doc] Clarify documentation for User Script directory.
Fixes: #2043
1 parent 9d785b5 commit 08989ab

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

doc/rofi-script.5.markdown

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,20 @@ To specify a script there are the following options:
184184
- Specify an absolute path to the script.
185185
- The script is executable and located in your $PATH
186186

187-
Scripts located in the following location are loaded on startup:
187+
Scripts located in the following location are **loaded** on startup
188+
and can be directly launched based on the filename (without extension):
188189

189-
- The script is in `$XDG_CONFIG_PATH/rofi/scripts/`, this is usually
190+
- The script is in `$XDG_CONFIG_HOME/rofi/scripts/`, this is usually
190191
`~/.config/rofi/scripts/`.
191192

193+
If you have a script 'mymode.sh' in this folder you can open it using:
194+
195+
```bash
196+
rofi -show mymode
197+
```
198+
199+
See `rofi -h` output for a list of detected scripts.
200+
192201
## SEE ALSO
193202

194203
rofi(1), rofi-sensible-terminal(1), dmenu(1), rofi-theme(5),

0 commit comments

Comments
 (0)