1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[Doc] update rofi-theme(5) with mm size.

This commit is contained in:
Dave Davenport 2020-06-09 22:57:02 +02:00
parent bf17e1c65e
commit 8c51b9ec3e
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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