fix(ags applauncher): fix launching apps
This commit is contained in:
parent
8764bfb459
commit
2f9bd7eb80
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ const AppItem = (app, window) => {
|
||||||
className: 'app',
|
className: 'app',
|
||||||
connections: [['clicked', () => {
|
connections: [['clicked', () => {
|
||||||
App.closeWindow(window);
|
App.closeWindow(window);
|
||||||
execAsync(['hyprctl', 'dispatch', 'exec', app.executable.split(' ')[0]]);
|
execAsync(['hyprctl', 'dispatch', 'exec', `sh -c ${app.executable}`]);
|
||||||
// TODO: focus on new client. Is this only needed after launch?
|
// TODO: focus on new client. Is this only needed after launch?
|
||||||
++app.frequency;
|
++app.frequency;
|
||||||
}]],
|
}]],
|
||||||
|
|
Loading…
Reference in a new issue