mcsr bullshit and overlay window rule
This commit is contained in:
@@ -5,15 +5,15 @@ end
|
||||
|
||||
-- #MCSR
|
||||
hl.define_submap("mcsr", function()
|
||||
-- Tall macro
|
||||
hl.bind("KP_END", hl.dsp.window.fullscreen_state({internal = 0, client = 0}))
|
||||
hl.bind("KP_END", hl.dsp.window.float({action = "on"}))
|
||||
hl.bind("KP_END", hl.dsp.window.resize({x = 1920, y = 16384}))
|
||||
hl.bind("KP_END", hl.dsp.window.move({x = 600, y = -7472}))
|
||||
hl.bind("KP_END", hl.dsp.exec_cmd("quickshell ipc call boateye open"))
|
||||
hl.bind("KP_END", hl.dsp.exec_cmd("quickshell ipc call thin close"))
|
||||
-- Eyezoom
|
||||
hl.bind("KP_END", hl.dsp.window.fullscreen_state({internal = 0, client = 0}), {ignore_mods = true})
|
||||
hl.bind("KP_END", hl.dsp.window.float({action = "on"}), {ignore_mods = true})
|
||||
hl.bind("KP_END", hl.dsp.window.resize({x = 1920, y = 16384}), {ignore_mods = true})
|
||||
hl.bind("KP_END", hl.dsp.window.move({x = 600, y = -7472}), {ignore_mods = true})
|
||||
hl.bind("KP_END", hl.dsp.exec_cmd("quickshell ipc call boateye open"), {ignore_mods = true})
|
||||
hl.bind("KP_END", hl.dsp.exec_cmd("quickshell ipc call thin close"), {ignore_mods = true})
|
||||
|
||||
-- Thin macro
|
||||
-- Thin
|
||||
hl.bind("KP_DOWN", hl.dsp.window.fullscreen_state({internal = 0, client = 0}))
|
||||
hl.bind("KP_DOWN", hl.dsp.window.float({action = "on"}))
|
||||
hl.bind("KP_DOWN", hl.dsp.window.resize({x = 400, y = 1420}))
|
||||
@@ -21,7 +21,7 @@ hl.define_submap("mcsr", function()
|
||||
hl.bind("KP_DOWN", hl.dsp.exec_cmd("quickshell ipc call thin open"))
|
||||
hl.bind("KP_DOWN", hl.dsp.exec_cmd("quickshell ipc call boateye close"))
|
||||
|
||||
-- Wide macro
|
||||
-- Wide
|
||||
hl.bind("KP_NEXT", hl.dsp.window.fullscreen_state({internal = 0, client = 0}))
|
||||
hl.bind("KP_NEXT", hl.dsp.window.float({action = "on"}))
|
||||
hl.bind("KP_NEXT", hl.dsp.window.resize({x = 2540, y = 400}))
|
||||
@@ -32,9 +32,13 @@ hl.define_submap("mcsr", function()
|
||||
remap("1", "apostrophe")
|
||||
remap("apostrophe", "1")
|
||||
remap("k", "0")
|
||||
remap("0", "k")
|
||||
remap("semicolon", "w")
|
||||
end)
|
||||
|
||||
-- See https://github.com/hyprwm/Hyprland/discussions/15058
|
||||
remap("mouse:275", "f3")
|
||||
|
||||
-- Close boateye
|
||||
-- FIXME: use hl.on() to couple this to the actions of fullscreening/floating
|
||||
-- instead of the keybinds
|
||||
@@ -47,4 +51,10 @@ bind("KP_BEGIN", hl.dsp.pass({window = "class:ninjabrainbot-Main"}))
|
||||
bind("KP_BEGIN", hl.dsp.pass({window = "class:ninjabrainbot-Main"}), {release = true})
|
||||
bind("KP_RIGHT", hl.dsp.pass({window = "class:ninjabrainbot-Main"}))
|
||||
bind("KP_RIGHT", hl.dsp.pass({window = "class:ninjabrainbot-Main"}), {release = true})
|
||||
bind("SHIFT + KP_BEGIN", hl.dsp.pass({window = "class:ninjabrainbot-Main"}))
|
||||
bind("SHIFT + KP_BEGIN", hl.dsp.pass({window = "class:ninjabrainbot-Main"}), {release = true})
|
||||
|
||||
-- bind("A", hl.dsp.global("chlorostroke:apressed"), {non_consuming = true, ignore_mods = true})
|
||||
-- bind("A", hl.dsp.global("chlorostroke:apressed"), {non_consuming = true, ignore_mods = true, release = true})
|
||||
-- bind("S", hl.dsp.global("chlorostroke:spressed"), {non_consuming = true, ignore_mods = true})
|
||||
-- bind("S", hl.dsp.global("chlorostroke:spressed"), {non_consuming = true, ignore_mods = true, release = true})
|
||||
|
||||
Reference in New Issue
Block a user