From 97ec5985732d6f117f574f29c8164b759c162724 Mon Sep 17 00:00:00 2001 From: dark3txr <227404939+dark3txr@users.noreply.github.com> Date: Mon, 4 May 2026 09:07:02 +0100 Subject: [PATCH] fix: add Global to app properties (#1447) --- modules/launcher/items/CalcItem.qml | 2 +- modules/launcher/services/Apps.qml | 2 +- modules/utilities/cards/RecordingList.qml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/launcher/items/CalcItem.qml b/modules/launcher/items/CalcItem.qml index e7f11bab..f746f96c 100644 --- a/modules/launcher/items/CalcItem.qml +++ b/modules/launcher/items/CalcItem.qml @@ -78,7 +78,7 @@ Item { id: stateLayer onClicked: { - Quickshell.execDetached(["app2unit", "--", ...Config.general.apps.terminal, "fish", "-C", `exec qalc -i '${root.math}'`]); + Quickshell.execDetached(["app2unit", "--", ...GlobalConfig.general.apps.terminal, "fish", "-C", `exec qalc -i '${root.math}'`]); root.list.visibilities.launcher = false; } diff --git a/modules/launcher/services/Apps.qml b/modules/launcher/services/Apps.qml index 5c80513e..168d9209 100644 --- a/modules/launcher/services/Apps.qml +++ b/modules/launcher/services/Apps.qml @@ -13,7 +13,7 @@ Searcher { if (entry.runInTerminal) Quickshell.execDetached({ - command: ["app2unit", "--", ...Config.general.apps.terminal, `${Quickshell.shellDir}/assets/wrap_term_launch.sh`, ...entry.command], + command: ["app2unit", "--", ...GlobalConfig.general.apps.terminal, `${Quickshell.shellDir}/assets/wrap_term_launch.sh`, ...entry.command], workingDirectory: entry.workingDirectory }); else diff --git a/modules/utilities/cards/RecordingList.qml b/modules/utilities/cards/RecordingList.qml index a0ec101b..951f7f09 100644 --- a/modules/utilities/cards/RecordingList.qml +++ b/modules/utilities/cards/RecordingList.qml @@ -104,7 +104,7 @@ ColumnLayout { onClicked: { root.visibilities.utilities = false; root.visibilities.sidebar = false; - Quickshell.execDetached(["app2unit", "--", ...Config.general.apps.playback, recording.modelData.path]); + Quickshell.execDetached(["app2unit", "--", ...GlobalConfig.general.apps.playback, recording.modelData.path]); } } @@ -114,7 +114,7 @@ ColumnLayout { onClicked: { root.visibilities.utilities = false; root.visibilities.sidebar = false; - Quickshell.execDetached(["app2unit", "--", ...Config.general.apps.explorer, recording.modelData.path]); + Quickshell.execDetached(["app2unit", "--", ...GlobalConfig.general.apps.explorer, recording.modelData.path]); } }