mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Reformat dmenu examples
- Remove additional newline in example - Formatted to show examples on separate lines
This commit is contained in:
parent
a71b81dfe1
commit
54f0ee8fe9
1 changed files with 4 additions and 2 deletions
|
@ -94,8 +94,10 @@ Show a ssh dialog:
|
||||||
If passed the `-dmenu` option, or ran as `dmenu` (ie, /usr/bin/dmenu is symlinked to /usr/bin/rofi),
|
If passed the `-dmenu` option, or ran as `dmenu` (ie, /usr/bin/dmenu is symlinked to /usr/bin/rofi),
|
||||||
rofi will use the data passed from STDIN.
|
rofi will use the data passed from STDIN.
|
||||||
|
|
||||||
`~/scripts/my_script.sh | rofi -dmenu`
|
```
|
||||||
`echo -e "Option #1\nOption #2\nOption #3\n" | rofi -dmenu`
|
~/scripts/my_script.sh | rofi -dmenu
|
||||||
|
echo -e "Option #1\nOption #2\nOption #3" | rofi -dmenu
|
||||||
|
```
|
||||||
|
|
||||||
In both cases, rofi will output the user's selection to STDOUT.
|
In both cases, rofi will output the user's selection to STDOUT.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue