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
|
||||
|
||||
- `quickshell`
|
||||
- `app2unit`
|
||||
|
|
|
|||
|
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue