1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-29 14:32:08 -04:00

welcome page: fix to not shell our to external dms IPC

This commit is contained in:
bbedward
2026-06-29 12:12:17 -04:00
parent de3e8cffa0
commit f293def3a8
2 changed files with 3 additions and 3 deletions
+2
View File
@@ -251,6 +251,8 @@ Item {
values: JSON.parse(root._barLayoutStateJson)
}
Component.onCompleted: BarWidgetService.dankBarRepeater = dankBarRepeater
property var hyprlandOverviewLoaderRef: hyprlandOverviewLoader
delegate: Loader {
@@ -1,6 +1,5 @@
import QtQuick
import QtQuick.Effects
import Quickshell
import qs.Common
import qs.Services
import qs.Widgets
@@ -148,8 +147,7 @@ Item {
iconName: "tune"
title: I18n.tr("Control Center", "greeter feature card title")
description: I18n.tr("Quick system toggles", "greeter feature card description")
// This is doing an IPC since its just easier and lazier to access the bar ref
onClicked: Quickshell.execDetached(["dms", "ipc", "call", "control-center", "open"])
onClicked: BarWidgetService.getBarWindowOnFocusedScreen()?.triggerControlCenter()
}
GreeterFeatureCard {