Skip to content

Commit

Permalink
[Doc] Clarify documentation for User Script directory.
Browse files Browse the repository at this point in the history
Fixes: #2043
  • Loading branch information
DaveDavenport committed Oct 26, 2024
1 parent 9d785b5 commit 08989ab
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions doc/rofi-script.5.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,20 @@ To specify a script there are the following options:
- Specify an absolute path to the script.
- 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/`.

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

rofi(1), rofi-sensible-terminal(1), dmenu(1), rofi-theme(5),
Expand Down

0 comments on commit 08989ab

Please sign in to comment.