summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-07-24 16:26:14 +0200
committerDave Davenport <qball@gmpclient.org>2017-07-24 16:26:14 +0200
commitb83f1504d59b0d7627d2e19107f297f1af70db94 (patch)
tree11dfa333cc887cc364b9152c696bd1b45d35d60c /doc
parent09ad0e467990ec18bb0a1cdb802281ac59e84e83 (diff)
Add list format to theme api
Diffstat (limited to 'doc')
-rw-r--r--doc/rofi-theme.517
-rw-r--r--doc/rofi-theme.5.markdown8
-rw-r--r--doc/rofi.12
3 files changed, 23 insertions, 4 deletions
diff --git a/doc/rofi-theme.5 b/doc/rofi-theme.5
index a94bdf76..ded99d91 100644
--- a/doc/rofi-theme.5
+++ b/doc/rofi-theme.5
@@ -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\.
.
diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown
index f6913a51..4c7f929d 100644
--- a/doc/rofi-theme.5.markdown
+++ b/doc/rofi-theme.5.markdown
@@ -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
diff --git a/doc/rofi.1 b/doc/rofi.1
index 1e018373..84df98fb 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -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