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
@@ -6,32 +6,32 @@ hl.define_submap("screenshot", function()
hl.bind("y", function()
hl.dispatch(hl.dsp.exec_cmd("dms screenshot --no-file"))
exit_submap()
end)
end, { description = "Take sceenshot of are and Yank" })
hl.bind("c", function()
hl.dispatch(hl.dsp.exec_cmd("dms screenshot"))
exit_submap()
end)
end, { description = "Take screenshot of area, yank and save" })
hl.bind("s", function()
hl.dispatch(hl.dsp.exec_cmd("dms screenshot --no-clipboard"))
exit_submap()
end)
end, { description = "Take screenshot of area and Save" })
hl.bind("SHIFT + y", function()
hl.dispatch(hl.dsp.exec_cmd("dms screenshot full --no-file"))
exit_submap()
end)
end, { description = "Take screenshot and Yank" })
hl.bind("SHIFT + c", function()
hl.dispatch(hl.dsp.exec_cmd("dms screenshot full"))
exit_submap()
end)
end, { description = "Take sceenshot, yank and save" })
hl.bind("SHIFT + s", function()
hl.dispatch(hl.dsp.exec_cmd("dms screenshot full --no-clipboard"))
exit_submap()
end)
end, { description = "Take screenshot and Save" })
hl.bind("Escape", function()
exit_submap()