mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Add list format to theme api
This commit is contained in:
parent
09ad0e4679
commit
b83f1504d5
3 changed files with 23 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "ROFI\-THEME" "5" "2017-07-24" "" ""
|
||||
.TH "ROFI\-THEME" "5" "July 2017" "" ""
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBrofi\-theme\fR \- Rofi theme format files
|
||||
|
@ -242,7 +242,7 @@ a color\.
|
|||
text style\.
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fIline style\fR\.
|
||||
line style\.
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
a distance\.
|
||||
|
@ -259,6 +259,9 @@ a position\.
|
|||
.IP "\(bu" 4
|
||||
a reference\.
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
a list of keywords\.
|
||||
.
|
||||
.IP "" 0
|
||||
.
|
||||
.P
|
||||
|
@ -615,6 +618,16 @@ highlight: bold @pink;
|
|||
.
|
||||
.IP "" 0
|
||||
.
|
||||
.SH "List of keywords"
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
Format: \fB[ keyword, keyword ]\fR
|
||||
.
|
||||
.IP "" 0
|
||||
.
|
||||
.P
|
||||
A list starts with a \'[\' and ends with a \']\'\. The entries in the list are comma separated\. The \fBkeyword\fR in the list refers to an widget name\.
|
||||
.
|
||||
.SH "ELEMENTS PATHS"
|
||||
Element paths exists of two parts, the first part refers to the actual widget by name\. Some widgets have an extra state\.
|
||||
.
|
||||
|
|
|
@ -176,12 +176,13 @@ The current theme format support different type:
|
|||
* a boolean value.
|
||||
* a color.
|
||||
* text style.
|
||||
* *line style*.
|
||||
* line style.
|
||||
* a distance.
|
||||
* a padding.
|
||||
* a border.
|
||||
* a position.
|
||||
* a reference.
|
||||
* a list of keywords.
|
||||
|
||||
Some of these types are a combination of other types.
|
||||
|
||||
|
@ -378,7 +379,12 @@ e.g. this is not valid:
|
|||
highlight: bold @pink;
|
||||
```
|
||||
|
||||
## List of keywords
|
||||
|
||||
* Format: `[ keyword, keyword ]`
|
||||
|
||||
A list starts with a '[' and ends with a ']'. The entries in the list are comma separated.
|
||||
The `keyword` in the list refers to an widget name.
|
||||
|
||||
## ELEMENTS PATHS
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "ROFI" "1" "2017-07-24" "" ""
|
||||
.TH "ROFI" "1" "July 2017" "" ""
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBrofi\fR \- A window switcher, application launcher, ssh dialog and dmenu replacement
|
||||
|
|
Loading…
Reference in a new issue