fix(ags applauncher): fix launching apps

This commit is contained in:
matt1432 2023-11-03 13:49:50 -04:00
parent 8764bfb459
commit 2f9bd7eb80

View file

@ -23,7 +23,7 @@ const AppItem = (app, window) => {
className: 'app',
connections: [['clicked', () => {
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?
++app.frequency;
}]],