-
Notifications
You must be signed in to change notification settings - Fork 612
mode Specs
Dave Davenport edited this page Aug 23, 2021
·
10 revisions
Apart from dmenu mode, rofi can be told to call a custom script.
If you start rofi -modi yourscript:yourscript.sh -show yourscript
, this happens:
- Rofi calls
yourscript.sh
without parameters. - Your script needs to write its choices to
stdout
, separated by line breaks (\n
). - Rofi shows these entries and allows the user to choose one.
- Your script is called again with the chosen entry as its parameter.
Please see the rofi-script manpage.