hyprlock: explain ability to use pixels or percentages for position and size (#845)

This commit is contained in:
Maximilian Seidler 2024-11-06 17:50:55 +01:00 committed by GitHub
parent 5187a7a36c
commit 0af4a6fb5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,6 +72,10 @@ widget_name {
- halign: `left`, `center`, `right`, `none`. valign: `top`, `center`, - halign: `left`, `center`, `right`, `none`. valign: `top`, `center`,
`bottom`, `none` `bottom`, `none`
- zindex: Widgets with larger numbers will be placed above widgets with smaller numbers. All widgets default to 0, except background which defaults to -1. - zindex: Widgets with larger numbers will be placed above widgets with smaller numbers. All widgets default to 0, except background which defaults to -1.
- All `position` and `size` options can be specified in pixels or as percentages of the output size.
- pixels: `10, 10` or `10px, 10px`
- percentages: `10%, 10%`
- mixed: `10%, 5px`
### Shadowable ### Shadowable