summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorIan Remmler <ian@remmler.org>2016-09-08 15:42:41 -0500
committerDave Davenport <DaveDavenport@users.noreply.github.com>2016-09-08 22:42:41 +0200
commit91e2ecf2128f309d14691373cfec431343f105fd (patch)
tree43293dc884d7bfc4ae85dd8be6945e817a836936 /doc
parente3fb17a843602df47ccf417c051e811e2da60ce1 (diff)
Added click-to-exit option. (#460)
Exit if a mouse button is pressed and released outside of the rofi window.
Diffstat (limited to 'doc')
-rw-r--r--doc/rofi-manpage.markdown12
-rw-r--r--doc/rofi.115
2 files changed, 22 insertions, 5 deletions
diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown
index 502794c6..f3ebc8d4 100644
--- a/doc/rofi-manpage.markdown
+++ b/doc/rofi-manpage.markdown
@@ -47,6 +47,7 @@
[ -fake-transparency ]
[ -matching *method* ]
[ -tokenize ]
+[ -no-click-to-exit ]
[ -threads *num* ]
[ -config *filename* ]
@@ -174,9 +175,9 @@ Custom modes can be added using the internal 'script' mode. Each mode has two pa
<name>:<script>
-Example: Have a mode 'Workspaces' using the `i3_switch_workspace.sh` script:
+Example: Have a mode 'Workspaces' using the `i3_switch_workspaces.sh` script:
- rofi -modi "window,run,ssh,Workspaces:i3_switch_workspace.sh" -show Workspaces
+ rofi -modi "window,run,ssh,Workspaces:i3_switch_workspaces.sh" -show Workspaces
`-case-sensitive`
@@ -646,6 +647,13 @@ file (currently only supports png).
Set the name to use for mode. This is used as prompt and in combi-browser.
+`-click-to-exit`
+`-no-click-to-exit`
+
+Click the mouse outside of the **rofi** window to exit.
+
+Default: *enabled*
+
### Debug
diff --git a/doc/rofi.1 b/doc/rofi.1
index 38ed7579..d54fc59d 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" "" "2016-08-25" "" ""
+.TH "ROFI\-MANPAGE" "" "2016-09-08" "" ""
.
.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 ] [ \-opacity \fIopacity%\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 ] [ \-lazy\-filter\-limit \fIlimit\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 ] [ \-threads \fInum\fR ] [ \-config \fIfilename\fR ]
+\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 ] [ \-opacity \fIopacity%\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 ] [ \-lazy\-filter\-limit \fIlimit\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 ]
.
.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\.
@@ -249,7 +249,7 @@ Custom modes can be added using the internal \'script\' mode\. Each mode has two
.IP "" 0
.
.P
-Example: Have a mode \'Workspaces\' using the \fBi3_switch_workspace\.sh\fR script:
+Example: Have a mode \'Workspaces\' using the \fBi3_switch_workspaces\.sh\fR script:
.
.IP "" 4
.
@@ -1026,6 +1026,15 @@ Select what to use as background for fake transparency\. This can be \'backgroun
.P
Set the name to use for mode\. This is used as prompt and in combi\-browser\.
.
+.P
+\fB\-click\-to\-exit\fR \fB\-no\-click\-to\-exit\fR
+.
+.P
+Click the mouse outside of the \fBrofi\fR window to exit\.
+.
+.P
+Default: \fIenabled\fR
+.
.SS "Debug"
\fB\-no\-config\fR
.