quickshell polkit agent

This commit is contained in:
end-4
2025-10-30 19:37:28 +01:00
parent 81116598cb
commit f9c7bbbe01
13 changed files with 210 additions and 5 deletions
@@ -10,7 +10,8 @@ Rectangle {
property bool show: false
default property alias data: contentColumn.data
property real backgroundHeight: 600
property real backgroundHeight: dialogBackground.implicitHeight
property real backgroundWidth: 350
property real backgroundAnimationMovementDistance: 60
signal dismiss()
@@ -49,7 +50,7 @@ Rectangle {
property real targetY: root.height / 2 - root.backgroundHeight / 2
y: root.show ? targetY : (targetY - root.backgroundAnimationMovementDistance)
implicitWidth: 350
implicitWidth: root.backgroundWidth
implicitHeight: contentColumn.implicitHeight + dialogBackground.radius * 2
Behavior on implicitHeight {
NumberAnimation {