diff options
author | Dave Davenport <qball@blame.services> | 2022-04-11 11:19:34 +0200 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2022-04-11 11:19:34 +0200 |
commit | 8274b1cc768ac9bfaf523f9b47616e10baee49f9 (patch) | |
tree | d166ad81449cc1aa923dd2e1b3e4fd787e3da1dc /doc/rofi-script.5 | |
parent | bb1fd3afd7efee76db3774e04012171c98a1bcf7 (diff) |
[Doc] Add a rofi-debugging manpage.
Diffstat (limited to 'doc/rofi-script.5')
-rw-r--r-- | doc/rofi-script.5 | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/doc/rofi-script.5 b/doc/rofi-script.5 index 9cac2e8b..dc1e0a4d 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,11 +119,11 @@ 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 -\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\&. .RE @@ -140,7 +139,7 @@ For example: .RS .nf - echo -en "aap\\0icon\\x1ffolder\\n" + echo \-en "aap\\0icon\\x1ffolder\\n" .fi .RE @@ -156,7 +155,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 @@ -167,7 +166,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 @@ -184,7 +183,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 @@ -196,24 +195,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. |