forked from Shinonome/dots-hyprland
revert weird launcher entries with terminal apps
This commit is contained in:
@@ -250,8 +250,7 @@ Singleton {
|
|||||||
if (!entry.runInTerminal)
|
if (!entry.runInTerminal)
|
||||||
entry.execute();
|
entry.execute();
|
||||||
else {
|
else {
|
||||||
print([...Config.options.apps.terminal, "-e", ...entry.command])
|
Quickshell.execDetached(["bash", '-c', `${Config.options.apps.terminal} -e '${StringUtils.shellSingleQuoteEscape(entry.command.join(' '))}'`]);
|
||||||
Quickshell.execDetached([...Config.options.apps.terminal, "-e", ...entry.command]);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
comment: entry.comment,
|
comment: entry.comment,
|
||||||
@@ -267,7 +266,7 @@ Singleton {
|
|||||||
if (!action.runInTerminal)
|
if (!action.runInTerminal)
|
||||||
action.execute();
|
action.execute();
|
||||||
else {
|
else {
|
||||||
Quickshell.execDetached([...Config.options.apps.terminal, "-e", ...action.command]);
|
Quickshell.execDetached(["bash", '-c', `${Config.options.apps.terminal} -e '${StringUtils.shellSingleQuoteEscape(action.command.join(' '))}'`]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user