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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user