From 3a7fde924a9efd3c2df73961d2b19bc727c1f77d Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 18 Jan 2017 18:12:54 +0100 Subject: [PATCH] Add -theme and -theme-str to manpage. --- doc/rofi-manpage.markdown | 21 +++++++++++++++++++-- doc/rofi.1 | 32 ++++++++++++++++++++++++++++++-- 2 files changed, 49 insertions(+), 4 deletions(-) diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown index c7af4af4..3be97936 100644 --- a/doc/rofi-manpage.markdown +++ b/doc/rofi-manpage.markdown @@ -49,6 +49,8 @@ [ -threads *num* ] [ -config *filename* ] [ -no-show-match ] +[ -theme *filename* ] +[ -theme-str *string* ] ## DESCRIPTION @@ -246,7 +248,7 @@ Default: *1* The following options are further explained in the theming section: -`-color-window` *background* *border color* *separator color* +`-color-window` *background* *border color* *separator color* Set window background, border and separator color. @@ -391,6 +393,21 @@ detection). Negative numbers are handled differently: See `rofi -h` output for the detected monitors, their position and size. + +`-theme` *filename* + +Path to the new theme file format. This overrides the old theme settings. + +`-theme-str` *string* + +Allow theme parts to be specified on the commandline as an override. + +For example + + rofi -theme-str '#window { fullscreen: true; }' + +This option can be specified multiple times. + ### PATTERN setting `-terminal` @@ -896,7 +913,7 @@ Use `qalc` to get a simple calculator in **rofi**: ## I3 -In [I3](http://i3wm.org/) you want to bind rofi to be launched on key-release. Otherwise it cannot grab the keyboard. +In [I3](http://i3wm.org/) you want to bind rofi to be launched on key-release. Otherwise it cannot grab the keyboard. See also the I3 [manual](http://i3wm.org/docs/userguide.html): Some tools (such as import or xdotool) might be unable to run upon a KeyPress event, because the keyboard/pointer is diff --git a/doc/rofi.1 b/doc/rofi.1 index 0630f4d8..9757516f 100644 --- a/doc/rofi.1 +++ b/doc/rofi.1 @@ -1,13 +1,13 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "ROFI\-MANPAGE" "" "January 2017" "" "" +.TH "ROFI\-MANPAGE" "" "2017-01-18" "" "" . .SH "NAME" \fBrofi\fR \- A window switcher, run launcher, ssh dialog and dmenu replacement . .SH "SYNOPSIS" -\fBrofi\fR [ \-width \fIpct_scr\fR ] [ \-lines \fIlines\fR ] [ \-columns \fIcolumns\fR ] [ \-font \fIpangofont\fR ] [ \-terminal \fIterminal\fR ] [ \-location \fIposition\fR ] [ \-fixed\-num\-lines ] [ \-padding \fIpadding\fR ] [ \-display \fIdisplay\fR ] [ \-bw \fIwidth\fR ] [ \-dmenu [ \-p \fIprompt\fR ] [ \-sep \fIseparator\fR ] [ \-l \fIselected line\fR ] [ \-mesg ] [ \-select ] [ \-input \fIinput\fR ] ] [ \-filter \fIfilter\fR ] [ \-ssh\-client \fIclient\fR ] [ \-ssh\-command \fIcommand\fR ] [ \-window\-command \fIcommand\fR ] [ \-disable\-history ] [ \-levenshtein\-sort ] [ \-case\-sensitive ] [ \-cycle ] [ \-show \fImode\fR ] [ \-modi \fImode1,mode2\fR ] [ \-eh \fIelement height\fR ] [ \-e \fImessage\fR] [ \-a \fIrow\fR ] [ \-u \fIrow\fR ] [ \-pid \fIpath\fR ] [ \-version ] [ \-help ] [ \-dump\-xresources ] [ \-dump\-xresources\-theme ] [ \-auto\-select ] [ \-parse\-hosts ] [ \-no\-parse\-known\-hosts ] [ \-combi\-modi \fImode1,mode2\fR ] [ \-normal\-window ] [ \-fake\-transparency ] [ \-matching \fImethod\fR ] [ \-tokenize ] [ \-no\-click\-to\-exit ] [ \-threads \fInum\fR ] [ \-config \fIfilename\fR ] [ \-no\-show\-match ] +\fBrofi\fR [ \-width \fIpct_scr\fR ] [ \-lines \fIlines\fR ] [ \-columns \fIcolumns\fR ] [ \-font \fIpangofont\fR ] [ \-terminal \fIterminal\fR ] [ \-location \fIposition\fR ] [ \-fixed\-num\-lines ] [ \-padding \fIpadding\fR ] [ \-display \fIdisplay\fR ] [ \-bw \fIwidth\fR ] [ \-dmenu [ \-p \fIprompt\fR ] [ \-sep \fIseparator\fR ] [ \-l \fIselected line\fR ] [ \-mesg ] [ \-select ] [ \-input \fIinput\fR ] ] [ \-filter \fIfilter\fR ] [ \-ssh\-client \fIclient\fR ] [ \-ssh\-command \fIcommand\fR ] [ \-window\-command \fIcommand\fR ] [ \-disable\-history ] [ \-levenshtein\-sort ] [ \-case\-sensitive ] [ \-cycle ] [ \-show \fImode\fR ] [ \-modi \fImode1,mode2\fR ] [ \-eh \fIelement height\fR ] [ \-e \fImessage\fR] [ \-a \fIrow\fR ] [ \-u \fIrow\fR ] [ \-pid \fIpath\fR ] [ \-version ] [ \-help ] [ \-dump\-xresources ] [ \-dump\-xresources\-theme ] [ \-auto\-select ] [ \-parse\-hosts ] [ \-no\-parse\-known\-hosts ] [ \-combi\-modi \fImode1,mode2\fR ] [ \-normal\-window ] [ \-fake\-transparency ] [ \-matching \fImethod\fR ] [ \-tokenize ] [ \-no\-click\-to\-exit ] [ \-threads \fInum\fR ] [ \-config \fIfilename\fR ] [ \-no\-show\-match ] [ \-theme \fIfilename\fR ] [ \-theme\-str \fIstring\fR ] . .SH "DESCRIPTION" \fBrofi\fR is an X11 popup window switcher, run dialog, dmenu replacement and more\. It focuses on being fast to use and have minimal distraction\. It supports keyboard and mouse navigation, type to filter, tokenized search and more\. @@ -640,6 +640,34 @@ Default: \fI\-5\fR .P See \fBrofi \-h\fR output for the detected monitors, their position and size\. . +.P +\fB\-theme\fR \fIfilename\fR +. +.P +Path to the new theme file format\. This overrides the old theme settings\. +. +.P +\fB\-theme\-str\fR \fIstring\fR +. +.P +Allow theme parts to be specified on the commandline as an override\. +. +.P +For example +. +.IP "" 4 +. +.nf + +rofi \-theme\-str \'#window { fullscreen: true; }\' +. +.fi +. +.IP "" 0 +. +.P +This option can be specified multiple times\. +. .SS "PATTERN setting" \fB\-terminal\fR .