diff --git a/.config/hypr/bindings.lua b/.config/hypr/bindings.lua index aa75581..c956a89 100644 --- a/.config/hypr/bindings.lua +++ b/.config/hypr/bindings.lua @@ -247,25 +247,25 @@ bind('SUPER + N', function() hl.dispatch(hl.dsp.workspace.toggle_special 'prod') local windows = hl.get_windows { workspace = 'special:prod' } if #windows == 0 then - hl.dispatch_exec_cmd 'station-launch-or-focus ^superProductivity$ "uwsm-app -- super-productivity"' - hl.dispatch_exec_cmd 'uwsm-app -- xdg-terminal-exec --app-id=org.station.notes nvim ~/Notes' + exec 'station-launch-or-focus ^superProductivity$ "uwsm-app -- super-productivity"' + exec 'uwsm-app -- xdg-terminal-exec --app-id=org.station.notes nvim ~/Notes' end end, 'Toggle productivity workspace') bind('SUPER + M', function() hl.dispatch(hl.dsp.workspace.toggle_special 'music') local windows = hl.get_windows { workspace = 'special:music' } if #windows == 0 then - hl.dispatch_exec_cmd 'station-launch-or-focus spotify' - hl.dispatch_exec_cmd 'station-launch-or-focus psysonic' + exec 'station-launch-or-focus spotify' + exec 'station-launch-or-focus psysonic' end end, 'Toggle music workspace') bind('SUPER + D', function() hl.dispatch(hl.dsp.workspace.toggle_special 'comms') local windows = hl.get_windows { workspace = 'special:comms' } if #windows == 0 then - hl.dispatch_exec_cmd 'station-launch-or-focus ^signal$ "uwsm-app -- signal-desktop"' - hl.dispatch_exec_cmd 'station-launch-or-focus ^chrome-web.whatsapp.com__-Default$ "station-launch-webapp https://web.whatsapp.com"' - hl.dispatch_exec_cmd 'station-launch-or-focus ^chrome-discord.com__channels_@me-Default$ "station-launch-webapp https://discord.com/channels/@me"' + exec 'station-launch-or-focus ^signal$ "uwsm-app -- signal-desktop"' + exec 'station-launch-or-focus ^chrome-web.whatsapp.com__-Default$ "station-launch-webapp https://web.whatsapp.com"' + exec 'station-launch-or-focus ^chrome-discord.com__channels_@me-Default$ "station-launch-webapp https://discord.com/channels/@me"' end end, 'Toggle comms workspace')