app2unit
This commit is contained in:
parent
d71c9604a6
commit
6e6135c53b
2 changed files with 3 additions and 2 deletions
|
|
@ -21,3 +21,4 @@ quickshell -c launcher
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
- `quickshell`
|
- `quickshell`
|
||||||
|
- `app2unit`
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,12 @@ FuzzySearch {
|
||||||
function launch(entry: DesktopEntry): void {
|
function launch(entry: DesktopEntry): void {
|
||||||
if (entry.runInTerminal)
|
if (entry.runInTerminal)
|
||||||
Quickshell.execDetached({
|
Quickshell.execDetached({
|
||||||
command: ["kitty", "exec", ...entry.command],
|
command: ["app2unit", "--", "kitty", "exec", ...entry.command],
|
||||||
workingDirectory: entry.workingDirectory
|
workingDirectory: entry.workingDirectory
|
||||||
});
|
});
|
||||||
else
|
else
|
||||||
Quickshell.execDetached({
|
Quickshell.execDetached({
|
||||||
command: [...entry.command],
|
command: ["app2unit", "--", ...entry.command],
|
||||||
workingDirectory: entry.workingDirectory
|
workingDirectory: entry.workingDirectory
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue