diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown index d28976ae..d668b25e 100644 --- a/doc/rofi-manpage.markdown +++ b/doc/rofi-manpage.markdown @@ -638,6 +638,10 @@ Enable fake transparency. This only works with transparent background color in t Select what to use as background for fake transparency. This can be 'background', 'screenshot' or a path to an image file (currently only supports png). +`-display-{mode}` *string* + +Set the name to use for mode. This is used as prompt and in combi-browser. + ### Debug diff --git a/doc/rofi.1 b/doc/rofi.1 index 7c4dd679..5c387a41 100644 --- a/doc/rofi.1 +++ b/doc/rofi.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "ROFI\-MANPAGE" "" "August 2016" "" "" +.TH "ROFI\-MANPAGE" "" "2016-08-22" "" "" . .SH "NAME" \fBrofi\fR \- A window switcher, run launcher, ssh dialog and dmenu replacement @@ -1006,6 +1006,12 @@ Enable fake transparency\. This only works with transparent background color in .P Select what to use as background for fake transparency\. This can be \'background\', \'screenshot\' or a path to an image file (currently only supports png)\. . +.P +\fB\-display\-{mode}\fR \fIstring\fR +. +.P +Set the name to use for mode\. This is used as prompt and in combi\-browser\. +. .SS "Debug" \fB\-no\-config\fR . diff --git a/source/view.c b/source/view.c index b2e325ff..1fedc4f3 100644 --- a/source/view.c +++ b/source/view.c @@ -1771,7 +1771,7 @@ RofiViewState *rofi_view_create ( Mode *sw, const Mode * mode = rofi_get_mode ( j ); state->modi[j] = textbox_create ( TB_CENTER, state->border + j * ( width + config.line_margin ), CacheState.height - state->line_height - state->border, width, state->line_height, - ( mode == state->sw ) ? HIGHLIGHT : NORMAL, mode_get_name ( mode ) ); + ( mode == state->sw ) ? HIGHLIGHT : NORMAL, mode_get_display_name ( mode ) ); } } uint16_t mask = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT;