feat: group binds

This commit is contained in:
2026-07-12 12:13:20 +02:00
parent c51f60064e
commit e37d9f64be
2 changed files with 192 additions and 7 deletions
+5 -2
View File
@@ -2,6 +2,9 @@ local function exit_submap()
hl.dispatch(hl.dsp.submap("reset"))
end
hl.bind("SUPER + SHIFT + H", hl.dsp.group.prev(), { description = "Go to previous group member" })
hl.bind("SUPER + SHIFT + L", hl.dsp.group.next(), { description = "Go to next group member" })
-- TODO: Improve mapping (also global mapping, for moving between els if to use regularly)
-- Improve colours
hl.define_submap("groups", function()
@@ -13,12 +16,12 @@ hl.define_submap("groups", function()
hl.bind("l", function()
hl.dispatch(hl.dsp.group.next())
exit_submap()
end, { description = "Go to next group" })
end, { description = "Go to next group member" })
hl.bind("h", function()
hl.dispatch(hl.dsp.group.prev())
exit_submap()
end, { description = "Go to previous group" })
end, { description = "Go to previous group member" })
hl.bind("CTRL + L", function()
hl.dispatch(hl.dsp.exec_cmd("notify-send 'Group locking toggled' --app-name='Hyprtclt'"))