feat: finally added commands for better grouping. TODO fix the looks for the group bar

This commit is contained in:
venus
2026-10-03 00:02:54 -05:00
parent e63f664258
commit abefac7bd1
2 changed files with 24 additions and 3 deletions
+15
View File
@@ -145,4 +145,19 @@ hl.define_submap("open-apps", "reset", function() -- Submap for quickly opening
hl.bind("catchall" ,hl.dsp.submap("reset"))
end)
hl.define_submap("group", "reset", function() -- Submap for managing groups
hl.bind("G" ,hl.dsp.group.toggle())
hl.bind("apostrophe" ,hl.dsp.group.toggle())
hl.bind("SUPER + apostrophe" ,hl.dsp.group.toggle())
hl.bind("N" ,hl.dsp.group.next())
hl.bind("P" ,hl.dsp.group.prev())
hl.bind("H" ,hl.dsp.window.move({ into_or_create_group = "left" }))
hl.bind("L" ,hl.dsp.window.move({ into_or_create_group = "right" }))
hl.bind("K" ,hl.dsp.window.move({ into_or_create_group = "up" }))
hl.bind("J" ,hl.dsp.window.move({ into_or_create_group = "down" }))
hl.bind("SHIFT + N" ,hl.dsp.group.move_window({ forward = false}))
hl.bind("SHIFT + P" ,hl.dsp.group.move_window({ forward = true}))
hl.bind("SHIFT + L" ,hl.dsp.group.lock_active({ action = "toggle" }))
hl.bind("catchall" ,hl.dsp.submap("reset"))
end)
-- TODO Implement a VPN summap that allows quick connection to different VPN servers and toggling the VPN on/off.