fix(ags applauncher): make on_accept work

This commit is contained in:
matt1432 2023-11-28 08:23:32 -05:00
parent b7724c46d2
commit 8bd1c23ce0

View file

@ -46,7 +46,8 @@ const Applauncher = ({ window_name = 'applauncher' } = {}) => {
if (appList[0]) { if (appList[0]) {
App.toggleWindow(window_name); App.toggleWindow(window_name);
Hyprland.sendMessage(`dispatch exec sh -c ${appList[0]}`); Hyprland.sendMessage(`dispatch exec sh -c
${appList[0].executable}`);
++appList[0].frequency; ++appList[0].frequency;
} }
}, },