From d2747e2ca1e211a32e91e44010f40a00e0ac97e4 Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Sat, 30 May 2026 15:35:27 +0200 Subject: feat(quickshell): add popup controls and privacy indicators --- modules/system/quickshell/Media.qml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'modules/system/quickshell/Media.qml') diff --git a/modules/system/quickshell/Media.qml b/modules/system/quickshell/Media.qml index ee5bf42..f16207c 100644 --- a/modules/system/quickshell/Media.qml +++ b/modules/system/quickshell/Media.qml @@ -42,22 +42,10 @@ Item { onClicked: GlobalState.toggle("Media") } - PopupWindow { - id: popup - visible: GlobalState.activePopup === "Media" - grabFocus: true - implicitWidth: card.width - implicitHeight: card.height - - anchor { - window: barWindow - item: root - edges: Edges.Bottom - gravity: Edges.Bottom - margins.top: Theme.popupGap - } - - color: Theme.transparent + AnchoredPopup { + popupName: "Media" + anchorWindow: barWindow + anchorItem: root PopupCard { id: card -- cgit v1.3.1