notification changes

This commit is contained in:
Zacharias-Brohn
2026-02-04 14:11:30 +01:00
parent 29606e363a
commit 76e008007e
57 changed files with 4537 additions and 202 deletions
+24 -7
View File
@@ -89,15 +89,31 @@ Scope {
id: contentRow
spacing: 24
IconImage {
source: Quickshell.iconPath(polkitAgent.flow?.iconName, true) ?? ""
implicitSize: 64
mipmap: true
Layout.preferredWidth: implicitSize
Layout.preferredHeight: implicitSize
Item {
Layout.preferredWidth: icon.implicitSize
Layout.preferredHeight: icon.implicitSize
Layout.leftMargin: 16
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
IconImage {
id: icon
anchors.fill: parent
visible: `${source}`.includes("://")
source: Quickshell.iconPath(polkitAgent.flow?.iconName, true) ?? ""
implicitSize: 64
mipmap: true
}
MaterialIcon {
visible: !icon.visible
text: "security"
anchors.fill: parent
font.pointSize: 64
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
}
ColumnLayout {
@@ -277,6 +293,7 @@ Scope {
Layout.alignment: Qt.AlignRight
onClicked: {
root.shouldShow = false
console.log(icon.source, icon.visible)
polkitAgent.flow.cancelAuthenticationRequest()
passInput.text = ""
}