Add workspace rules

This commit is contained in:
2026-05-25 16:51:51 -04:00
parent f115c971c8
commit 00139c7023
3 changed files with 24 additions and 8 deletions
+5 -1
View File
@@ -43,7 +43,7 @@ hl.bind("XF86Calculator", hl.dsp.exec_cmd(calculator))
hl.bind(mainMod .. " + G", hl.dsp.submap("group"))
hl.define_submap("group", function()
hl.bind("G", function()
hl.bind(mainMod .. " + G", function()
hl.dsp.group.toggle()
hl.dsp.submap("reset")
end)
@@ -73,3 +73,7 @@ hl.define_submap("group", function()
hl.bind("ESCAPE", hl.dsp.submap("reset"))
end)
hl.on("keybinds.submap", function (n)
hl.notification.create({ text = "Entered submap: " .. n, timeout = 5000, icon = "ok"})
end)