Window switcher, allow to use percent of monitor width.

OSD will size per monitor.  With this the width stays
relative sized on my 4k as well as my 1080p monitor

example from my theme
osd.window-switcher.width.percent: 60%
This commit is contained in:
Droc 2024-03-25 16:47:03 -05:00
parent 4fc6bce3ea
commit 4a2db844c0
4 changed files with 16 additions and 3 deletions

View file

@ -165,6 +165,9 @@ elements are not listed here, but are supported.
*osd.window-switcher.width*
Width of window switcher in pixels. Default is 600.
*osd.window-switcher.width.percent*
Width of window switcher in percent. Default is 0. Max 100%
*osd.window-switcher.padding*
Padding of window switcher in pixels. This is the space between the
window-switcher border and its items. Default is 4.