Fix keybinds

This commit is contained in:
2026-09-27 18:45:57 +01:00
parent e9d4fd2851
commit a73c80531b
+7 -7
View File
@@ -247,25 +247,25 @@ bind('SUPER + N', function()
hl.dispatch(hl.dsp.workspace.toggle_special 'prod') hl.dispatch(hl.dsp.workspace.toggle_special 'prod')
local windows = hl.get_windows { workspace = 'special:prod' } local windows = hl.get_windows { workspace = 'special:prod' }
if #windows == 0 then if #windows == 0 then
hl.dispatch_exec_cmd 'station-launch-or-focus ^superProductivity$ "uwsm-app -- super-productivity"' exec '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 'uwsm-app -- xdg-terminal-exec --app-id=org.station.notes nvim ~/Notes'
end end
end, 'Toggle productivity workspace') end, 'Toggle productivity workspace')
bind('SUPER + M', function() bind('SUPER + M', function()
hl.dispatch(hl.dsp.workspace.toggle_special 'music') hl.dispatch(hl.dsp.workspace.toggle_special 'music')
local windows = hl.get_windows { workspace = 'special:music' } local windows = hl.get_windows { workspace = 'special:music' }
if #windows == 0 then if #windows == 0 then
hl.dispatch_exec_cmd 'station-launch-or-focus spotify' exec 'station-launch-or-focus spotify'
hl.dispatch_exec_cmd 'station-launch-or-focus psysonic' exec 'station-launch-or-focus psysonic'
end end
end, 'Toggle music workspace') end, 'Toggle music workspace')
bind('SUPER + D', function() bind('SUPER + D', function()
hl.dispatch(hl.dsp.workspace.toggle_special 'comms') hl.dispatch(hl.dsp.workspace.toggle_special 'comms')
local windows = hl.get_windows { workspace = 'special:comms' } local windows = hl.get_windows { workspace = 'special:comms' }
if #windows == 0 then if #windows == 0 then
hl.dispatch_exec_cmd 'station-launch-or-focus ^signal$ "uwsm-app -- signal-desktop"' exec '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"' exec '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 ^chrome-discord.com__channels_@me-Default$ "station-launch-webapp https://discord.com/channels/@me"'
end end
end, 'Toggle comms workspace') end, 'Toggle comms workspace')