42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
{
|
|
"name": "PopupAdjustment",
|
|
"module": "Quickshell",
|
|
"type": "enum",
|
|
"description": "Adjustment strategy for popups that do not fit on screen.",
|
|
"details": "Adjustment strategy for popups. See TYPE99MQS_Quickshell99NPopupAnchor99Vadjustment99Tprop99TYPE.\n\nAdjustment flags can be combined with the `|` operator.\n\n`Flip` will be applied first, then `Slide`, then `Resize`.\n",
|
|
"variants": {
|
|
"FlipY": {
|
|
"details": "If the Y axis is constrained, the popup will invert its vertical gravity if any.\n"
|
|
},
|
|
"ResizeX": {
|
|
"details": "If the X axis is constrained, the width of the popup will be reduced to fit on screen.\n"
|
|
},
|
|
"Resize": {
|
|
"details": "Alias for `ResizeX | ResizeY`\n"
|
|
},
|
|
"ResizeY": {
|
|
"details": "If the Y axis is constrained, the height of the popup will be reduced to fit on screen.\n"
|
|
},
|
|
"All": {
|
|
"details": "Alias for `Flip | Slide | Resize`.\n"
|
|
},
|
|
"Slide": {
|
|
"details": "Alias for `SlideX | SlideY`.\n"
|
|
},
|
|
"SlideX": {
|
|
"details": "If the X axis is constrained, the popup will slide along the X axis until it fits onscreen.\n"
|
|
},
|
|
"SlideY": {
|
|
"details": "If the Y axis is constrained, the popup will slide along the Y axis until it fits onscreen.\n"
|
|
},
|
|
"Flip": {
|
|
"details": "Alias for `FlipX | FlipY`.\n"
|
|
},
|
|
"None": {
|
|
"details": null
|
|
},
|
|
"FlipX": {
|
|
"details": "If the X axis is constrained, the popup will invert its horizontal gravity if any.\n"
|
|
}
|
|
}
|
|
} |