diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-17 16:20:47 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-17 16:20:47 +1000 |
| commit | 746f41da16ddc463345948110d0a75a68918af90 (patch) | |
| tree | caf925b02b6fcada02e4f96bcff932b725db6d8d /modules/launcher/SchemeItem.qml | |
| parent | internal: use execDetached (diff) | |
| download | caelestia-shell-746f41da16ddc463345948110d0a75a68918af90.tar.gz caelestia-shell-746f41da16ddc463345948110d0a75a68918af90.tar.bz2 caelestia-shell-746f41da16ddc463345948110d0a75a68918af90.zip | |
feat: impl variant launcher action
Diffstat (limited to 'modules/launcher/SchemeItem.qml')
| -rw-r--r-- | modules/launcher/SchemeItem.qml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/launcher/SchemeItem.qml b/modules/launcher/SchemeItem.qml index fa55a65..df635f5 100644 --- a/modules/launcher/SchemeItem.qml +++ b/modules/launcher/SchemeItem.qml @@ -8,8 +8,8 @@ import QtQuick Item { id: root - required property var modelData - required property PersistentProperties visibilities + required property Schemes.Scheme modelData + required property var list implicitHeight: Config.launcher.sizes.itemHeight @@ -20,8 +20,7 @@ Item { radius: Appearance.rounding.full function onClicked(): void { - Apps.launch(root.modelData); - root.visibilities.launcher = false; + root.modelData?.onClicked(root.list); } } |