summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorBenjamin Cremer <bc@benjamin-cremer.de>2015-05-04 16:32:45 +0200
committerBenjamin Cremer <bc@benjamin-cremer.de>2015-05-04 16:32:45 +0200
commit54f0ee8fe99225eca304a18823cba623be92bdf3 (patch)
tree8a0cac6f8b889a85d60e26b74e97664898969cb2 /README.md
parenta71b81dfe197f00f73f7f75b4e1c443653f8972b (diff)
Reformat dmenu examples
- Remove additional newline in example - Formatted to show examples on separate lines
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0401d2f2..1f9411a6 100644
--- a/README.md
+++ b/README.md
@@ -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),
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.