summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/rofi-theme.54
-rw-r--r--doc/rofi-theme.5.markdown2
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/rofi-theme.5 b/doc/rofi-theme.5
index cc0bc564..0443e784 100644
--- a/doc/rofi-theme.5
+++ b/doc/rofi-theme.5
@@ -481,6 +481,8 @@ Format: \fB\fC{Real}em\fR
Format: \fB\fC{Real}ch\fR
.IP \(bu 2
Format: \fB\fC{Real}%\fR
+.IP \(bu 2
+Format: \fB\fC{Integer}mm\fR
.PP
A distance can be specified in 3 different units:
@@ -491,6 +493,8 @@ A distance can be specified in 3 different units:
.IP \(bu 2
\fB\fCch\fR: Relative to width of a single number.
.IP \(bu 2
+\fB\fCmm\fR: Actual size in millimeters (based on dpi).
+.IP \(bu 2
\fB\fC%\fR: Percentage of the \fBmonitor\fP size.
.PP
diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown
index 143551db..ab941949 100644
--- a/doc/rofi-theme.5.markdown
+++ b/doc/rofi-theme.5.markdown
@@ -334,12 +334,14 @@ It currently supports:
* Format: `{Real}em`
* Format: `{Real}ch`
* Format: `{Real}%`
+* Format: `{Integer}mm`
A distance can be specified in 3 different units:
* `px`: Screen pixels.
* `em`: Relative to text height.
* `ch`: Relative to width of a single number.
+* `mm`: Actual size in millimeters (based on dpi).
* `%`: Percentage of the **monitor** size.
Distances used in the horizontal direction use the monitor width. Distances in