aboutsummaryrefslogtreecommitdiff
path: root/modules/system/quickshell/Media.qml
diff options
context:
space:
mode:
authorLeander Scherer <leander@schererleander.de>2026-05-30 15:35:27 +0200
committerLeander Scherer <leander@schererleander.de>2026-05-30 15:35:27 +0200
commitd2747e2ca1e211a32e91e44010f40a00e0ac97e4 (patch)
treefb229d6a18541c7a5f1944390b21edde028955f9 /modules/system/quickshell/Media.qml
parent51b3cbd50b92d026549ce3ebff17ca9b3344f441 (diff)
feat(quickshell): add popup controls and privacy indicators
Diffstat (limited to 'modules/system/quickshell/Media.qml')
-rw-r--r--modules/system/quickshell/Media.qml20
1 files changed, 4 insertions, 16 deletions
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