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

[doc] Add conflicting constraint section to manpage.

This commit is contained in:
Dave Davenport 2023-01-22 12:54:45 +01:00
parent ebb4459a60
commit 004f4ebd98
2 changed files with 25 additions and 6 deletions

View file

@ -2136,12 +2136,22 @@ It supports the following keys as constraint:
.fi
.RE
.SH Conflicting constraints
.PP
It is possible to define conflicting constraints in the theme. These conflicts
are not explicitly reported. The most common example is forcing a specific
window size, for example by enabling full-screen mode, having number of lines
set in the listview and having the listview expand to available space. There is
clearly a conflict in these 3 constraints. In this case, listview will not
limit to the number of lines, but tries to fill the available space. It is up
to the theme designer to make sure the theme handles this correctly.
.SH Font Parsing
.PP
Rofi uses pango
\[la]https://pango.gnome.org/\[ra] for font rendering. The font should be specified in a format that pango
understands.
This normally is the font name followed by the font size. For example:
\[la]https://pango.gnome.org/\[ra] for font rendering. The font should
be specified in a format that pango understands. This normally is the font name
followed by the font size. For example:
.PP
.RS

View file

@ -1361,12 +1361,21 @@ It supports the following keys as constraint:
}
```
## Conflicting constraints
It is possible to define conflicting constraints in the theme. These conflicts
are not explicitly reported. The most common example is forcing a specific
window size, for example by enabling full-screen mode, having number of lines
set in the listview and having the listview expand to available space. There is
clearly a conflict in these 3 constraints. In this case, listview will not
limit to the number of lines, but tries to fill the available space. It is up
to the theme designer to make sure the theme handles this correctly.
## Font Parsing
Rofi uses [pango](https://pango.gnome.org/) for font rendering. The font should be specified in a format that pango
understands.
This normally is the font name followed by the font size. For example:
Rofi uses [pango](https://pango.gnome.org/) for font rendering. The font should
be specified in a format that pango understands. This normally is the font name
followed by the font size. For example:
```
mono 18