diff --git a/doc/rofi-script.5.markdown b/doc/rofi-script.5.markdown index 4e1a31e0..aeeac8fd 100644 --- a/doc/rofi-script.5.markdown +++ b/doc/rofi-script.5.markdown @@ -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),