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: 60%
This commit is contained in:
Droc 2024-03-25 18:22:27 -05:00
parent 4fc6bce3ea
commit bda18df757
5 changed files with 17 additions and 2 deletions

View file

@ -60,7 +60,10 @@ osd.border.color: #000000
osd.border.width: 1
osd.label.text.color: #000000
# width can be set as percent (of screen width)
# example 50% or 75% instead of 600, max 100%
osd.window-switcher.width: 600
osd.window-switcher.padding: 4
osd.window-switcher.item.padding.x: 10
osd.window-switcher.item.padding.y: 1