fix: submap naming
This commit is contained in:
@@ -2,7 +2,8 @@ local function exit_submap()
|
||||
hl.dispatch(hl.dsp.submap("reset"))
|
||||
end
|
||||
|
||||
hl.bind("code:232", hl.dsp.exec_cmd(""))
|
||||
-- TODO: Update this for laptop
|
||||
hl.bind("code:232", hl.dsp.exec_cmd("brightnessctl -S"))
|
||||
-- bind = ,code:232, exec, light -U 5 && notify-send 'Display brightness decreased by 5%'
|
||||
-- bind = ,code:233, exec, light -A 5 && notify-send 'Display brightness increased by 5%'
|
||||
|
||||
|
||||
@@ -8,6 +8,6 @@ hl.bind("SUPER + A", hl.dsp.submap("workspace"))
|
||||
hl.bind("SUPER + Q", hl.dsp.window.close())
|
||||
|
||||
hl.bind("SUPER + Space", hl.dsp.exec_cmd("dms ipc call spotlight toggle"))
|
||||
hl.bind("SUPER + Escape", hl.dsp.exec_cmd("dms ipc call powermenu open"))
|
||||
hl.bind("SUPER + Escape", hl.dsp.exec_cmd("wlogout"))
|
||||
hl.bind("SUPER + I", hl.dsp.exec_cmd("dms ipc call control-center open"))
|
||||
hl.bind("SUPER + CTRL + H", hl.dsp.exec_cmd("dms ipc call keybinds toggle hyprland"))
|
||||
|
||||
@@ -15,7 +15,7 @@ hl.bind("SUPER + k", hl.dsp.focus({ direction = "u" }))
|
||||
hl.bind("SUPER + M", hl.dsp.workspace.toggle_special("main"))
|
||||
hl.bind("SUPER + SHIFT + M", hl.dsp.window.move({ workspace = "special:main" }))
|
||||
|
||||
hl.define_submap("notifications", function()
|
||||
hl.define_submap("workspace", function()
|
||||
for i = 1, 10, 1 do
|
||||
hl.bind(tostring(i % 10), hl.dsp.focus({ workspace = tostring(i) }))
|
||||
hl.bind("SHIFT + " .. tostring(i % 10), hl.dsp.window.move({ workspace = tostring(i), follow = 1 }))
|
||||
|
||||
Reference in New Issue
Block a user