mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-02 01:40:13 -05:00
config: make CSD user configurable
The user can now configure the following: * Whether to prefer CSDs or SSDs. But note that this is only a hint to the compositor - it may deny our request. Furthermore, not all compositors implement the decoration manager protocol, meaning CSDs will be used regardless of the user configuration (GNOME/mutter being the most prominent one). * Title bar size and color, including transparency * Border size and color, including transparency Also drop support for rendering the CSDs inside the main surface.
This commit is contained in:
parent
ae22366f3b
commit
22ce09eb44
8 changed files with 210 additions and 107 deletions
|
|
@ -98,6 +98,37 @@ in this order:
|
|||
Background translucency. A value in the range 0.0-1.0, where 0.0
|
||||
means completely transparent, and 1.0 is opaque. Default: _1.0_.
|
||||
|
||||
# SECTION: csd
|
||||
|
||||
This section controls the look of the _CSDs_ (Client Side
|
||||
Decorations). Note that the default is to *not* use CSDs, but instead
|
||||
to use _SSDs_ (Server Side Decorations) when the compositor supports
|
||||
it.
|
||||
|
||||
*preferred*
|
||||
Which type of window decorations to prefer: *client* (CSD) or
|
||||
*server* (SSD). Note that this is only a hint to the
|
||||
compositor. Depending on the compositor's configuration and
|
||||
capabilities, it may not have any effect. Default: _server_.
|
||||
|
||||
*titlebar*
|
||||
Height, in pixels (but subject to output scaling), of the
|
||||
titlebar, not including the window border. Default: _26_.
|
||||
|
||||
*border*
|
||||
Width, in pixels (but subject to output scaling), of the
|
||||
borders. Default: _5_.
|
||||
|
||||
*titlebar-color*
|
||||
Titlebar AARRGGBB color. Note that unlike the other color values,
|
||||
the *titlebar-color* value also has an _alpha_ component. Default:
|
||||
use the default _foreground_ color.
|
||||
|
||||
*border-color*
|
||||
Border AARRGGBB color. Note that unlike the other color values,
|
||||
the *border-color* value also has an _alpha_ component. Default:
|
||||
_transparent_.
|
||||
|
||||
# FONT FORMAT
|
||||
|
||||
The font is specified in FontConfig syntax. That is, a colon-separated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue