summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-09-18 12:50:35 +0200
committerGitHub <noreply@github.com>2020-09-18 12:50:35 +0200
commit4862584ad23deab3245aea7b9b39641106686db4 (patch)
tree49b765811fbbbefd20339425951302ee7b77bfdc
parent30fb1bd4e81b97378b23a4b59eeb5aeeb3d67225 (diff)
Remove extra colons (#1199)
Rofi already adds a colon after the prompt given with -p, so the "monkey:" example would actually lead to a "monkey::" prompt.
-rwxr-xr-xdoc/create_screenshot.sh2
-rw-r--r--doc/rofi.12
-rw-r--r--doc/rofi.1.markdown2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/create_screenshot.sh b/doc/create_screenshot.sh
index b32a71b2..ff0b776a 100755
--- a/doc/create_screenshot.sh
+++ b/doc/create_screenshot.sh
@@ -8,7 +8,7 @@ echo -en "\n1\n2\n3\n4\n5"
}
sleep 5
-( shout | rofi -no-hide-scrollbar -columns 1 -width 1200 -location 0 -u 2,3 -a 4,5 -dmenu -p "Prompt:" -padding 20 -line-margin 10 -selected-row 6 ) &
+( shout | rofi -no-hide-scrollbar -columns 1 -width 1200 -location 0 -u 2,3 -a 4,5 -dmenu -p "Prompt" -padding 20 -line-margin 10 -selected-row 6 ) &
P=$!
sleep 5
scrot
diff --git a/doc/rofi.1 b/doc/rofi.1
index 3a6143d1..8edd8174 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -1013,7 +1013,7 @@ Specify the prompt to show in \fB\fCdmenu\fR mode. For example, select 'monkey',
.RS
.nf
-echo "a|b|c|d|e" | rofi \-sep '|' \-dmenu \-p "monkey:"
+echo "a|b|c|d|e" | rofi \-sep '|' \-dmenu \-p "monkey"
.fi
.RE
diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown
index d2965270..4325ce2b 100644
--- a/doc/rofi.1.markdown
+++ b/doc/rofi.1.markdown
@@ -604,7 +604,7 @@ Separator for `dmenu`. Example: To show a list of 'a' to 'e' with '|' as a separ
Specify the prompt to show in `dmenu` mode. For example, select 'monkey', a,b,c,d, or e.
- echo "a|b|c|d|e" | rofi -sep '|' -dmenu -p "monkey:"
+ echo "a|b|c|d|e" | rofi -sep '|' -dmenu -p "monkey"
Default: *dmenu*