mirror of
https://github.com/hyprwm/standards.git
synced 2025-05-12 13:20:42 +01:00
hyprcursor: clarify hotspot
This commit is contained in:
parent
38106e0b93
commit
d214cedff4
1 changed files with 7 additions and 5 deletions
|
@ -66,16 +66,18 @@ Available properties are:
|
|||
| name | description | type | exclusive\* |
|
||||
| -- | -- | -- | -- |
|
||||
| resize_algorithm | which resize algorithm to use for this shape. | bilinear, nearest, none | yes |
|
||||
| hotspot_x | the absolute x coordinate of the hotspot, from top left. | float, 0.0 - 1.0 | yes |
|
||||
| hotspot_y | the absolute y coordinate of the hotspot, from top left. | float, 0.0 - 1.0 | yes |
|
||||
| hotspot_x\*\* | the absolute x coordinate of the hotspot. | float, 0.0 - 1.0 | yes |
|
||||
| hotspot_y\*\* | the absolute y coordinate of the hotspot. | float, 0.0 - 1.0 | yes |
|
||||
| nominal_size | the percentage that this size is compared to the selected theme size. E.g. 0.5 in a theme of 32x will result in 64x for this shape. | float, 0.1 - 2.0 | yes |
|
||||
| define_override\*\* | defines an override this shape should take. E.g. define_override = arrow will make this shape also be responsible for a shape called "arrow" | string | no |
|
||||
| define_size\*\* | defines a size variant. See size variants for more | size variant | no |
|
||||
| define_override\*\*\* | defines an override this shape should take. E.g. define_override = arrow will make this shape also be responsible for a shape called "arrow" | string | no |
|
||||
| define_size\*\*\* | defines a size variant. See size variants for more | size variant | no |
|
||||
|
||||
|
||||
\* exclusive means that only one is allowed.
|
||||
|
||||
\*\* These support smashing multiple statements into one with `;`, e.g. `define_override = arrow;pointer;default`.
|
||||
\*\* Hotspot is calculated from the top-left, and is a fraction of the total resulting pixel size of the shape.
|
||||
|
||||
\*\*\* These support smashing multiple statements into one with `;`, e.g. `define_override = arrow;pointer;default`.
|
||||
|
||||
As with the manifest, for toml, append `[General]` at the top.
|
||||
|
||||
|
|
Loading…
Reference in a new issue