This commit is contained in:
Benjamin Palko 2025-08-20 10:31:18 -04:00
parent d71c9604a6
commit 6e6135c53b
2 changed files with 3 additions and 2 deletions

View file

@ -21,3 +21,4 @@ quickshell -c launcher
## Dependencies
- `quickshell`
- `app2unit`

View file

@ -10,12 +10,12 @@ FuzzySearch {
function launch(entry: DesktopEntry): void {
if (entry.runInTerminal)
Quickshell.execDetached({
command: ["kitty", "exec", ...entry.command],
command: ["app2unit", "--", "kitty", "exec", ...entry.command],
workingDirectory: entry.workingDirectory
});
else
Quickshell.execDetached({
command: [...entry.command],
command: ["app2unit", "--", ...entry.command],
workingDirectory: entry.workingDirectory
});
}