From b4c2faf86d66c1ec6adec50a0aca19f5df49150e Mon Sep 17 00:00:00 2001 From: QC Date: Sat, 4 Apr 2015 16:46:30 +0200 Subject: [PATCH] Update manpage. --- doc/rofi-manpage.markdown | 28 ++++++++++++++++++++ doc/rofi.1 | 56 ++++++++++++++++++++++++++++++++++++--- 2 files changed, 80 insertions(+), 4 deletions(-) diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown index f106aa2e..c1077a8e 100644 --- a/doc/rofi-manpage.markdown +++ b/doc/rofi-manpage.markdown @@ -12,6 +12,8 @@ rofi - A window switcher, run dialog and dmenu replacement [ -columns *columns* ] [ -font *pangofont* ] [ -fg *color* ] +[ -fg-urgent *color* ] +[ -fg-active *color* ] [ -bg *color* ] [ -bgalt *color* ] [ -hlfg *color* ] @@ -36,6 +38,8 @@ rofi - A window switcher, run dialog and dmenu replacement [ -eh *element height* ] [ -lazy-filter-limit *limit* ] [ -e *message*] +[ -a *row* ] +[ -u *row* ] [ -pid *path* ] [ -now ] [ -rnow ] @@ -155,6 +159,22 @@ daemon listening to specific key-combinations. Default: *#222222* +`-fg-urgent` + + Set the foreground text color (X11 named color or hex #rrggbb) for the menu. + + rofi -fg-urgent "#ffcccc" + + Default: *#ff2222* + +`-fg-active` + + Set the foreground text color (X11 named color or hex #rrggbb) for the menu. + + rofi -fg-active "#ccccff" + + Default: *#2222ff* + `-hlbg` Set the background text color (X11 named color or hex #rrggbb) for the highlighted item in the @@ -377,6 +397,14 @@ daemon listening to specific key-combinations. Number mode, return the index of the selected row. (starting at 0) +`-a` *X* + + Active row, mark row X as active. (starting at 0) + +`-u` *X* + + Urgent row, mark row X as urgent. (starting at 0) + ### Message dialog `-e` *message* diff --git a/doc/rofi.1 b/doc/rofi.1 index 45b1f4cd..53fd18c4 100644 --- a/doc/rofi.1 +++ b/doc/rofi.1 @@ -10,6 +10,8 @@ rofi \- A window switcher, run dialog and dmenu replacement [ \-columns \fIcolumns\fP ] [ \-font \fIpangofont\fP ] [ \-fg \fIcolor\fP ] +[ \-fg\-urgent \fIcolor\fP ] +[ \-fg\-active \fIcolor\fP ] [ \-bg \fIcolor\fP ] [ \-bgalt \fIcolor\fP ] [ \-hlfg \fIcolor\fP ] @@ -34,6 +36,8 @@ rofi \- A window switcher, run dialog and dmenu replacement [ \-eh \fIelement height\fP ] [ \-lazy\-filter\-limit \fIlimit\fP ] [ \-e \fImessage\fP] +[ \-a \fIrow\fP ] +[ \-u \fIrow\fP ] [ \-pid \fIpath\fP ] [ \-now ] [ \-rnow ] @@ -184,6 +188,30 @@ Set the foreground text color (X11 named color or hex #rrggbb) for the menu. .IP Default: \fI#222222\fP .PP +\fB\fC\-fg\-urgent\fR +.IP +Set the foreground text color (X11 named color or hex #rrggbb) for the menu. +.PP +.RS +.nf + rofi \-fg\-urgent "#ffcccc" +.fi +.RE +.IP +Default: \fI#ff2222\fP +.PP +\fB\fC\-fg\-active\fR +.IP +Set the foreground text color (X11 named color or hex #rrggbb) for the menu. +.PP +.RS +.nf + rofi \-fg\-active "#ccccff" +.fi +.RE +.IP +Default: \fI#2222ff\fP +.PP \fB\fC\-hlbg\fR .IP Set the background text color (X11 named color or hex #rrggbb) for the highlighted item in the @@ -469,6 +497,22 @@ Default: *0* Number mode, return the index of the selected row. (starting at 0) .fi .RE +.PP +\fB\fC\-a\fR \fIX\fP +.PP +.RS +.nf +Active row, mark row X as active. (starting at 0) +.fi +.RE +.PP +\fB\fC\-u\fR \fIX\fP +.PP +.RS +.nf +Urgent row, mark row X as urgent. (starting at 0) +.fi +.RE .SS Message dialog .PP \fB\fC\-e\fR \fImessage\fP @@ -629,14 +673,18 @@ Check quotes used on the commandline: e.g. used “ instead of ". .SH WEBSITE .PP \fBrofi\fP website can be found at here -\[la]https://davedavenport.github.io/rofi/\[ra] +.UR https://davedavenport.github.io/rofi/ +.UE .PP \fBrofi\fP bugtracker can be found here -\[la]https://github.com/DaveDavenport/rofi/issues\[ra] +.UR https://github.com/DaveDavenport/rofi/issues +.UE .SH AUTHOR .PP Qball Cow -\[la]qball@gmpclient.org\[ra] +.MT qball@gmpclient.org +.ME .PP Original code based on work by: Sean Pringle -\[la]sean.pringle@gmail.com\[ra] +.MT sean.pringle@gmail.com +.ME