feat: finally added commands for better grouping. TODO fix the looks for the group bar
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user