From 67b7245bf96cf954d90719e800cf9618ffaa4feb Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Mon, 29 Jun 2026 21:08:42 +0200 Subject: chore: cleanup sway, quickshell --- modules/system/quickshell/PopupCard.qml | 43 --------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 modules/system/quickshell/PopupCard.qml (limited to 'modules/system/quickshell/PopupCard.qml') diff --git a/modules/system/quickshell/PopupCard.qml b/modules/system/quickshell/PopupCard.qml deleted file mode 100644 index d4d609b..0000000 --- a/modules/system/quickshell/PopupCard.qml +++ /dev/null @@ -1,43 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Layouts - -Squircle { - id: root - - property int maxHeight: 440 - property int margins: 16 - default property alias content: contentCol.data - - width: 320 - height: Math.min(Math.max(contentCol.implicitHeight + 2 * margins, 80), maxHeight) - - Behavior on height { - SpringAnimation { - spring: 3 - damping: 0.25 - } - } - - fillColor: Theme.bg - strokeColor: Theme.border - strokeWidth: 1 - cornerRadius: 20 - clip: true - - ScrollView { - anchors { - fill: parent - margins: root.margins - } - clip: true - contentWidth: availableWidth - ScrollBar.vertical.policy: contentCol.implicitHeight > height ? ScrollBar.AsNeeded : ScrollBar.AlwaysOff - - ColumnLayout { - id: contentCol - width: parent.width - spacing: 12 - } - } -} -- cgit v1.3.1