some mcsr bullshit
This commit is contained in:
@@ -11,12 +11,15 @@ hl.define_submap("mcsr", function()
|
||||
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"))
|
||||
|
||||
-- Thin macro
|
||||
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}))
|
||||
hl.bind("KP_DOWN", hl.dsp.window.center())
|
||||
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
|
||||
hl.bind("KP_NEXT", hl.dsp.window.fullscreen_state({internal = 0, client = 0}))
|
||||
@@ -35,5 +38,13 @@ end)
|
||||
-- Close boateye
|
||||
-- FIXME: use hl.on() to couple this to the actions of fullscreening/floating
|
||||
-- instead of the keybinds
|
||||
bind("SUPER + F", hl.dsp.exec_cmd("quickshell ipc call boateye close"))
|
||||
bind("SUPER + M", hl.dsp.exec_cmd("quickshell ipc call boateye close"))
|
||||
bind("SUPER + F", hl.dsp.exec_cmd("quickshell ipc call boateye close; quickshell ipc call thin close"))
|
||||
bind("SUPER + M", hl.dsp.exec_cmd("quickshell ipc call boateye close; quickshell ipc call thin close"))
|
||||
|
||||
bind("KP_LEFT", hl.dsp.pass({window = "class:ninjabrainbot-Main"}))
|
||||
bind("KP_LEFT", hl.dsp.pass({window = "class:ninjabrainbot-Main"}), {release = true})
|
||||
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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user