diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown index 13639ba8..f106aa2e 100644 --- a/doc/rofi-manpage.markdown +++ b/doc/rofi-manpage.markdown @@ -45,6 +45,7 @@ rofi - A window switcher, run dialog and dmenu replacement [ -dump-xresources ] [ -auto-select ] [ -parse-hosts ] +[ -combi-modi *mode1,mode2* ] ## DESCRIPTION @@ -328,6 +329,16 @@ daemon listening to specific key-combinations. Default: *""* +### Combi settings + +`-combi-modi` *mode1,mode2* + + The modi to combine in the combi mode. + For syntax to see `-modi`. + To get one merge view, of window,run,ssh: + + rofi -show combi -combi-mode "window,run,ssh" + ### History and Sorting `-disable-history` diff --git a/doc/rofi.1 b/doc/rofi.1 index cd316ad3..45b1f4cd 100644 --- a/doc/rofi.1 +++ b/doc/rofi.1 @@ -43,6 +43,7 @@ rofi \- A window switcher, run dialog and dmenu replacement [ \-dump\-xresources ] [ \-auto\-select ] [ \-parse\-hosts ] +[ \-combi\-modi \fImode1,mode2\fP ] .SH DESCRIPTION .PP \fBrofi\fP is an X11 popup window switcher, run dialog, dmenu replacement and more. It focusses on @@ -408,6 +409,18 @@ Default: \fI{terminal} \-e {cmd}\fP If set, use an external tool to generate list of executable commands. Uses 'run\-command' .IP Default: \fI""\fP +.SS Combi settings +.PP +\fB\fC\-combi\-modi\fR \fImode1,mode2\fP +.PP +.RS +.nf +The modi to combine in the combi mode. +For syntax to see `\-modi`. +To get one merge view, of window,run,ssh: + rofi \-show combi \-combi\-mode "window,run,ssh" +.fi +.RE .SS History and Sorting .PP \fB\fC\-disable\-history\fR @@ -616,18 +629,14 @@ Check quotes used on the commandline: e.g. used “ instead of ". .SH WEBSITE .PP \fBrofi\fP website can be found at here -.UR https://davedavenport.github.io/rofi/ -.UE +\[la]https://davedavenport.github.io/rofi/\[ra] .PP \fBrofi\fP bugtracker can be found here -.UR https://github.com/DaveDavenport/rofi/issues -.UE +\[la]https://github.com/DaveDavenport/rofi/issues\[ra] .SH AUTHOR .PP Qball Cow -.MT qball@gmpclient.org -.ME +\[la]qball@gmpclient.org\[ra] .PP Original code based on work by: Sean Pringle -.MT sean.pringle@gmail.com -.ME +\[la]sean.pringle@gmail.com\[ra] diff --git a/include/textbox.h b/include/textbox.h index d75eb8b0..4177cf98 100644 --- a/include/textbox.h +++ b/include/textbox.h @@ -23,12 +23,12 @@ typedef struct typedef enum { - TB_AUTOHEIGHT = 1 << 0, - TB_AUTOWIDTH = 1 << 1, - TB_LEFT = 1 << 16, - TB_RIGHT = 1 << 17, - TB_CENTER = 1 << 18, - TB_EDITABLE = 1 << 19, + TB_AUTOHEIGHT = 1 << 0, + TB_AUTOWIDTH = 1 << 1, + TB_LEFT = 1 << 16, + TB_RIGHT = 1 << 17, + TB_CENTER = 1 << 18, + TB_EDITABLE = 1 << 19, } TextboxFlags;