summaryrefslogtreecommitdiff
path: root/modules/launcher
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-02 17:09:55 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-02 17:09:55 +1000
commit6fe2903d750a26b9a0a9cf965b11ecc0f7ab4df4 (patch)
tree15e6b281d09c3ec452084348459e0980334a822f /modules/launcher
parentdashboard: better no media (diff)
downloadcaelestia-shell-6fe2903d750a26b9a0a9cf965b11ecc0f7ab4df4.tar.gz
caelestia-shell-6fe2903d750a26b9a0a9cf965b11ecc0f7ab4df4.tar.bz2
caelestia-shell-6fe2903d750a26b9a0a9cf965b11ecc0f7ab4df4.zip
config: add apps config
Closes #318 and #305
Diffstat (limited to 'modules/launcher')
-rw-r--r--modules/launcher/items/CalcItem.qml2
-rw-r--r--modules/launcher/services/Apps.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/launcher/items/CalcItem.qml b/modules/launcher/items/CalcItem.qml
index 2e3c901..84c66a7 100644
--- a/modules/launcher/items/CalcItem.qml
+++ b/modules/launcher/items/CalcItem.qml
@@ -111,7 +111,7 @@ Item {
color: Colours.palette.m3onTertiary
function onClicked(): void {
- Quickshell.execDetached(["app2unit", "--", "foot", "fish", "-C", `exec qalc -i '${root.math}'`]);
+ Quickshell.execDetached(["app2unit", "--", ...Config.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 bfa2f87..b6999fd 100644
--- a/modules/launcher/services/Apps.qml
+++ b/modules/launcher/services/Apps.qml
@@ -13,7 +13,7 @@ Searcher {
function launch(entry: DesktopEntry): void {
if (entry.runInTerminal)
Quickshell.execDetached({
- command: ["app2unit", "--", "foot", `${Quickshell.shellDir}/assets/wrap_term_launch.sh`, ...entry.command],
+ command: ["app2unit", "--", ...Config.general.apps.terminal, `${Quickshell.shellDir}/assets/wrap_term_launch.sh`, ...entry.command],
workingDirectory: entry.workingDirectory
});
else