feat: finally added commands for better grouping. TODO fix the looks for the group bar

This commit is contained in:
venus
2026-10-03 00:02:54 -05:00
parent e63f664258
commit abefac7bd1
2 changed files with 24 additions and 3 deletions
+9 -3
View File
@@ -67,8 +67,8 @@ hl.bind(mainMod .. " + CTRL + right" ,hl.dsp.focus ({ workspace = "m+1"}))
hl.bind(mainMod .. " + CTRL + left" ,hl.dsp.focus ({ workspace = "m-1"}))
hl.bind(mainMod .. " + CTRL + l" ,hl.dsp.focus ({ workspace = "m+1"}))
hl.bind(mainMod .. " + CTRL + h" ,hl.dsp.focus ({ workspace = "m-1"}))
hl.bind(mainMod .. " + TAB " ,hl.dsp.focus ({ monitor = "-1"}))
hl.bind(mainMod .. " + SHIFT + TAB " ,hl.dsp.focus ({ monitor = "+1"}))
-- hl.bind(mainMod .. " + TAB " ,hl.dsp.focus ({ monitor = "-1"}))
-- hl.bind(mainMod .. " + SHIFT + TAB " ,hl.dsp.focus ({ monitor = "+1"}))
-- 2.3 Switch workspaces with mainMod + [0-9]
hl.bind(mainMod .. " + 1 " ,hl.dsp.focus({workspace = 1 }))
hl.bind(mainMod .. " + 2 " ,hl.dsp.focus({workspace = 2 }))
@@ -84,7 +84,6 @@ hl.bind(mainMod .. " + 0 " ,hl.dsp.focus({workspace = 10}))
---- 3 SPECIAL WORKSPACES ----
-- 3.2 Switch to special workspaces with mainMod + [S, B, G, N, U, R]
hl.bind(mainMod .. " + S " ,hl.dsp.workspace.toggle_special("magic"))
hl.bind(mainMod .. " + B " ,hl.dsp.workspace.toggle_special("book"))
hl.bind(mainMod .. " + X " ,hl.dsp.workspace.toggle_special("phantom"))
hl.bind(mainMod .. " + SHIFT + A" ,hl.dsp.workspace.toggle_special("gaming"))
hl.bind(mainMod .. " + A " ,hl.dsp.workspace.toggle_special("notes"))
@@ -163,6 +162,10 @@ hl.bind("SHIFT + PRINT" ,hl.dsp.exec_cmd(stk .. "annotate"))
hl.bind("ALT + PRINT" ,hl.dsp.exec_cmd(stk .. "annotateWindow"))
hl.bind("CTRL + PRINT" ,hl.dsp.exec_cmd(stk .. "annotateFullscreen"))
-- Screen Grouping modifiers
hl.bind(mainMod .. " + TAB" ,hl.dsp.group.next())
hl.bind(mainMod .. " + SHIFT + TAB" ,hl.dsp.group.prev())
---- 14. SUBMAP DISPATCHERS ----
@@ -170,3 +173,6 @@ hl.bind(mainMod .. "+ PRINT" ,function() hl.dispatch(hl.dsp.exec_cmd(stk .. "t
hl.bind(mainMod .. " + O " ,hl.dsp.submap("open-apps"))
hl.bind(mainMod .. " + M " ,function() hl.dispatch(hl.dsp.exec_cmd(ipc .. "panel-toggle control-center")) hl.dispatch(hl.dsp.submap("quick-settings")) end)
hl.bind(mainMod .. " + T" ,function() hl.dispatch(hl.dsp.submap("timer")) hl.exec_cmd(ipc .. "panel-toggle noctalia/timer:panel") end)
hl.bind(mainMod .. " + Z" ,function() hl.dispatch(hl.dsp.submap("group")) end)
hl.bind(mainMod .. " + B" ,function() hl.dispatch(hl.dsp.submap("group")) end)
hl.bind(mainMod .. " + apostrophe" ,function() hl.dispatch(hl.dsp.submap("group")) end)