Add workspace rules
This commit is contained in:
+5
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user