diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-07 20:34:30 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-07 20:34:30 +1000 |
| commit | 0cf46c440967f98a924ed0ad873e998f7ceae9d9 (patch) | |
| tree | fa94780036b78905f6e56c37b507333509867bce /modules/dashboard | |
| parent | popouts: fix state colour for tray back button (diff) | |
| download | caelestia-shell-0cf46c440967f98a924ed0ad873e998f7ceae9d9.tar.gz caelestia-shell-0cf46c440967f98a924ed0ad873e998f7ceae9d9.tar.bz2 caelestia-shell-0cf46c440967f98a924ed0ad873e998f7ceae9d9.zip | |
dashboard: hide dash when raise media
Diffstat (limited to 'modules/dashboard')
| -rw-r--r-- | modules/dashboard/Content.qml | 1 | ||||
| -rw-r--r-- | modules/dashboard/Media.qml | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/modules/dashboard/Content.qml b/modules/dashboard/Content.qml index a3963bb..b7b48ff 100644 --- a/modules/dashboard/Content.qml +++ b/modules/dashboard/Content.qml @@ -103,6 +103,7 @@ Item { Media { shouldUpdate: visible && media === view.currentItem + visibilities: root.visibilities } } diff --git a/modules/dashboard/Media.qml b/modules/dashboard/Media.qml index 27b7c44..43ef597 100644 --- a/modules/dashboard/Media.qml +++ b/modules/dashboard/Media.qml @@ -4,7 +4,7 @@ import "root:/widgets" import "root:/services" import "root:/utils" import "root:/config" -import Quickshell.Io +import Quickshell import Quickshell.Widgets import Quickshell.Services.Mpris import QtQuick @@ -15,6 +15,7 @@ Item { id: root required property bool shouldUpdate + required property PersistentProperties visibilities property real playerProgress: { const active = Players.active; @@ -339,6 +340,7 @@ Item { function onClicked(): void { Players.active?.raise(); + root.visibilities.dashboard = false; } } |