1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-10-27 05:23:18 -04:00

Update rofi-theme manpage with button and icon feature.

This commit is contained in:
Dave Davenport 2019-09-20 15:01:34 +02:00
parent 138acf6f3d
commit f28cf0207e
3 changed files with 1220 additions and 754 deletions

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "ROFI\-THEME" "5" "May 2019" "" ""
.TH "ROFI\-THEME" "5" "September 2019" "" ""
.
.SH "NAME"
\fBrofi\-theme\fR \- Rofi theme format files
@ -1167,7 +1167,25 @@ inputbar Packs: \fBprompt,entry,case\-indicator\fR
.IP "" 0
.
.P
Any widget name starting with \fBtextbox\fR is a textbox widget, others are box widgets and can pack other widgets\. To specify children, set the \fBchildren\fR property (this always happens on the \fBbox\fR child, see example below):
Any widget name starting with \fBtextbox\fR is a textbox widget, others are box widgets and can pack other widgets\.
.
.P
There are several special widgets that can be used by prefixing the name of the widget:
.
.TP
\fBtextbox\fR
This is a textbox widget\. The displayed string can be set with \fBstr\fR\.
.
.TP
\fBicon\fR
This is an icon widget\. The displayed icon can be set with \fBfilename\fR and size with \fBsize\fR\.
.
.TP
\fBbutton\fR
This is a textbox widget that can have a \'clickable\' action\. The \fBaction\fR can be set to: \fBok\fR accept entry\. \fBcustom\fR accept custom input\. \fBok|alternate\fR: accept entry and launch alternate action (for run launch in terminal)\. \fBcustom|alternate\fR: accept custom input and launch alternate action\.
.
.P
To specify children, set the \fBchildren\fR property (this always happens on the \fBbox\fR child, see example below):
.
.IP "" 4
.

View file

@ -751,6 +751,21 @@ These are used in the default theme as depicted in the figure above.
Packs: `prompt,entry,case-indicator`
Any widget name starting with `textbox` is a textbox widget, others are box widgets and can pack other widgets.
There are several special widgets that can be used by prefixing the name of the widget:
* `textbox`:
This is a textbox widget. The displayed string can be set with `str`.
* `icon`:
This is an icon widget. The displayed icon can be set with `filename` and size with `size`.
* `button`:
This is a textbox widget that can have a 'clickable' action.
The `action` can be set to:
`ok` accept entry.
`custom` accept custom input.
`ok|alternate`: accept entry and launch alternate action (for run launch in terminal).
`custom|alternate`: accept custom input and launch alternate action.
To specify children, set the `children`
property (this always happens on the `box` child, see example below):

1931
doc/rofi.1

File diff suppressed because it is too large Load diff