1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Update manpage to show -display- option, sidebar mode uses display name.

This commit is contained in:
Dave Davenport 2016-08-22 08:04:20 +02:00
parent 83d7665b70
commit 284b3cb78b
3 changed files with 12 additions and 2 deletions

View file

@ -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 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). 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 ### Debug

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "ROFI\-MANPAGE" "" "August 2016" "" "" .TH "ROFI\-MANPAGE" "" "2016-08-22" "" ""
. .
.SH "NAME" .SH "NAME"
\fBrofi\fR \- A window switcher, run launcher, ssh dialog and dmenu replacement \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 .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)\. 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" .SS "Debug"
\fB\-no\-config\fR \fB\-no\-config\fR
. .

View file

@ -1771,7 +1771,7 @@ RofiViewState *rofi_view_create ( Mode *sw,
const Mode * mode = rofi_get_mode ( j ); const Mode * mode = rofi_get_mode ( j );
state->modi[j] = textbox_create ( TB_CENTER, state->border + j * ( width + config.line_margin ), 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, 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; uint16_t mask = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT;