mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 17:49:48 +01:00
hyprlock: explain ability to use pixels or percentages for position and size (#845)
This commit is contained in:
parent
5187a7a36c
commit
0af4a6fb5f
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ widget_name {
|
|||
- halign: `left`, `center`, `right`, `none`. valign: `top`, `center`,
|
||||
`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.
|
||||
- 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue