feat: descriptions for hyprland binds

This commit is contained in:
2026-07-11 09:12:24 +02:00
parent b11a8f82c6
commit c51f60064e
10 changed files with 127 additions and 92 deletions
+6 -6
View File
@@ -8,33 +8,33 @@ hl.define_submap("groups", function()
hl.bind("c", function()
hl.dispatch(hl.dsp.group.toggle())
exit_submap()
end)
end, { description = "Toggle group" })
hl.bind("l", function()
hl.dispatch(hl.dsp.group.next())
exit_submap()
end)
end, { description = "Go to next group" })
hl.bind("h", function()
hl.dispatch(hl.dsp.group.prev())
exit_submap()
end)
end, { description = "Go to previous group" })
hl.bind("CTRL + L", function()
hl.dispatch(hl.dsp.exec_cmd("notify-send 'Group locking toggled' --app-name='Hyprtclt'"))
hl.dispatch(hl.dsp.group.lock_active())
exit_submap()
end)
end, { description = "Toggle group lock" })
hl.bind("SHIFT + L", function()
hl.dispatch(hl.dsp.window.move({ into_or_create_group = "r" }))
exit_submap()
end)
end, { description = "Move window into group to right" })
hl.bind("SHIFT + H", function()
hl.dispatch(hl.dsp.window.move({ into_or_create_group = "l" }))
exit_submap()
end)
end, { description = "Move window into group to left" })
hl.bind("Escape", function()
exit_submap()