summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-06-09 22:57:02 +0200
committerDave Davenport <qball@gmpclient.org>2020-06-09 22:57:02 +0200
commit8c51b9ec3e87293b6d444d461c207778549bb1ae (patch)
treeed216c0b028b5cc157280fc0526df505520a4609
parentbf17e1c65e63ad5bda2c50d6b882dec4c01fcedb (diff)
[Doc] update rofi-theme(5) with mm size.
-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