diff options
author | Dave Davenport <qball@blame.services> | 2022-07-19 15:44:29 +0200 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2022-07-19 15:50:42 +0200 |
commit | af976c3779d3e8ac8ceb75e5193d3e0af242e5ad (patch) | |
tree | 08e4fe6e5f30bf32ce2d72a4403f17487a48d8d7 /doc/rofi-script.5 | |
parent | 59e9b77a2e96d765db74314f17c3b8265f5b62ae (diff) |
[XCB] Add a flag to enable work around for #611.
In issue #611 there is a workaround implemented for an issue within
xserver: https://bugs.freedesktop.org/show_bug.cgi?id=104323#c1,
https://gitlab.freedesktop.org/xorg/xserver/-/issues/300.
With a latest update in xkeyboard-config this workaround breaks rofi,
see #1642 and
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/341.
This commits disabled this work-around (can be re-enabled with
-xserver-i300-workaround flag).
Hopefully this restores correct rofi functionality.
issue: #611 #1642
Diffstat (limited to 'doc/rofi-script.5')
-rw-r--r-- | doc/rofi-script.5 | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/doc/rofi-script.5 b/doc/rofi-script.5 index 689f4155..28fb7864 100644 --- a/doc/rofi-script.5 +++ b/doc/rofi-script.5 @@ -1,8 +1,7 @@ -.nh -.TH ROFI-SCRIPT 5 rofi-script +.TH ROFI\-SCRIPT 5 rofi\-script .SH NAME .PP -\fBrofi script mode\fP - Rofi format for scriptable mode. +\fBrofi script mode\fP \- Rofi format for scriptable mode. .SH DESCRIPTION .PP @@ -20,7 +19,7 @@ For example: .RS .nf -rofi -show fb -modes "fb:file_browser.sh" +rofi \-show fb \-modes "fb:file\_browser.sh" .fi .RE @@ -62,7 +61,7 @@ This shows two entries, reload and quit. When the quit entry is selected, rofi c .PP Rofi sets the following environment variable when executing the script: -.SS \fB\fCROFI_RETV\fR +.SS \fB\fCROFI\_RETV\fR .PP An integer number with the current state: @@ -74,15 +73,15 @@ An integer number with the current state: .IP \(bu 2 \fB2\fP: Selected a custom entry. .IP \(bu 2 -\fB10-28\fP: Custom keybinding 1-19 ( need to be explicitly enabled by script ). +\fB10\-28\fP: Custom keybinding 1\-19 ( need to be explicitly enabled by script ). .RE -.SS \fB\fCROFI_INFO\fR +.SS \fB\fCROFI\_INFO\fR .PP Environment get set when selected entry get set with the property value of the 'info' row option, if set. -.SS \fB\fCROFI_DATA\fR +.SS \fB\fCROFI\_DATA\fR .PP Environment get set when script sets \fB\fCdata\fR option in header. @@ -98,7 +97,7 @@ For example to set the prompt: .RS .nf - echo -en "\\0prompt\\x1fChange prompt\\n" + echo \-en "\\0prompt\\x1fChange prompt\\n" .fi .RE @@ -112,7 +111,7 @@ The following extra options exists: .IP \(bu 2 \fBmessage\fP: Update the message text. .IP \(bu 2 -\fBmarkup-rows\fP: If 'true' renders markup in the row. +\fBmarkup\-rows\fP: If 'true' renders markup in the row. .IP \(bu 2 \fBurgent\fP: Mark rows as urgent. (for syntax see the urgent option in dmenu mode) .IP \(bu 2 @@ -120,13 +119,13 @@ The following extra options exists: .IP \(bu 2 \fBdelim\fP: Set the delimiter for for next rows. Default is '\\n' and this option should finish with this. Only call this on first call of script, it is remembered for consecutive calls. .IP \(bu 2 -\fBno-custom\fP: If set to 'true'; only accept listed entries, ignore custom input. +\fBno\-custom\fP: If set to 'true'; only accept listed entries, ignore custom input. .IP \(bu 2 -\fBuse-hot-keys\fP: If set to true, it enabled the Custom keybindings for script. Warning this breaks the normal rofi flow. +\fBuse\-hot\-keys\fP: If set to true, it enabled the Custom keybindings for script. Warning this breaks the normal rofi flow. .IP \(bu 2 -\fBkeep-selection\fP: If set, the selection is not moved to the first entry, but the current position is maintained. +\fBkeep\-selection\fP: If set, the selection is not moved to the first entry, but the current position is maintained. .IP \(bu 2 -\fBdata\fP: Passed data to the next execution of the script via \fBROFI_DATA\fP\&. +\fBdata\fP: Passed data to the next execution of the script via \fBROFI\_DATA\fP\&. .IP \(bu 2 \fBtheme\fP: Small theme snippet to f.e. change the background color of a widget. @@ -144,7 +143,7 @@ For example: .RS .nf - echo -en "aap\\0icon\\x1ffolder\\n" + echo \-en "aap\\0icon\\x1ffolder\\n" .fi .RE @@ -160,7 +159,7 @@ The following options are supported: .IP \(bu 2 \fBnonselectable\fP: If true the row cannot activated. .IP \(bu 2 -\fBinfo\fP: Info that, on selection, gets placed in the \fB\fCROFI_INFO\fR environment variable. This entry does not get searched. +\fBinfo\fP: Info that, on selection, gets placed in the \fB\fCROFI\_INFO\fR environment variable. This entry does not get searched. .RE @@ -171,7 +170,7 @@ multiple entries can be passed using the \fB\fC\\x1f\fR separator. .RS .nf - echo -en "aap\\0icon\\x1ffolder\\x1finfo\\x1ftest\\n" + echo \-en "aap\\0icon\\x1ffolder\\x1finfo\\x1ftest\\n" .fi .RE @@ -188,7 +187,7 @@ In bash the best way to do this is using \fB\fCcoproc\fR\&. .RS .nf - coproc ( myApp > /dev/null 2>&1 ) + coproc ( myApp > /dev/null 2>\&1 ) .fi .RE @@ -200,24 +199,24 @@ See issue #1201 on github. .SH SEE ALSO .PP -rofi(1), rofi-sensible-terminal(1), dmenu(1), rofi-theme(5), rofi-theme-selector(1) +rofi(1), rofi\-sensible\-terminal(1), dmenu(1), rofi\-theme(5), rofi\-theme\-selector(1) .SH AUTHOR .PP -Qball Cow qball@gmpclient.org -\[la]mailto:qball@gmpclient.org\[ra] +Qball Cow +\[la]qball@gmpclient.org\[ra] .PP -Rasmus Steinke rasi@xssn.at -\[la]mailto:rasi@xssn.at\[ra] +Rasmus Steinke +\[la]rasi@xssn.at\[ra] .PP -Morgane Glidic sardemff7+rofi@sardemff7.net -\[la]mailto:sardemff7+rofi@sardemff7.net\[ra] +Morgane Glidic +\[la]sardemff7+rofi@sardemff7.net\[ra] .PP -Original code based on work by: Sean Pringle sean.pringle@gmail.com -\[la]mailto:sean.pringle@gmail.com\[ra] +Original code based on work by: Sean Pringle +\[la]sean.pringle@gmail.com\[ra] .PP For a full list of authors, check the AUTHORS file. |