modified lock screen keybind, added additional layout switching
keybinds, changed noctalia integration keybinds
This commit is contained in:
@@ -22,7 +22,8 @@ hl.bind(mainMod .. "+ SHIFT + I" ,hl.dsp.layout("swapwithmaster master"))
|
|||||||
hl.bind(mainMod .. "+ I" ,hl.dsp.layout("rollnext"))
|
hl.bind(mainMod .. "+ I" ,hl.dsp.layout("rollnext"))
|
||||||
hl.bind(mainMod .. "+ O" ,hl.dsp.layout("swapnext loop"))
|
hl.bind(mainMod .. "+ O" ,hl.dsp.layout("swapnext loop"))
|
||||||
hl.bind(mainMod .. "+ SHIFT + O" ,hl.dsp.layout("swapprev"))
|
hl.bind(mainMod .. "+ SHIFT + O" ,hl.dsp.layout("swapprev"))
|
||||||
hl.bind(mainMod .. "+ SEMICOLON" ,hl.dsp.layout("orientationcycle left center right"))
|
hl.bind(mainMod .. "+ SEMICOLON" ,hl.dsp.layout("orientationcycle right center left "))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + SEMICOLON" ,hl.dsp.layout("orientationcycle top bottom"))
|
||||||
-- 1.3 resize with arrows
|
-- 1.3 resize with arrows
|
||||||
hl.bind(mainMod .. " + right " ,hl.dsp.window.resize({ x = 20, y = 0, relative = true}) , {repeating = true})
|
hl.bind(mainMod .. " + right " ,hl.dsp.window.resize({ x = 20, y = 0, relative = true}) , {repeating = true})
|
||||||
hl.bind(mainMod .. " + left " ,hl.dsp.window.resize({ x =-20, y = 0, relative = true}) , {repeating = true})
|
hl.bind(mainMod .. " + left " ,hl.dsp.window.resize({ x =-20, y = 0, relative = true}) , {repeating = true})
|
||||||
@@ -137,17 +138,19 @@ hl.bind(mainMod .. "+ CTRL + G" ,hl.dsp.exec_cmd("kitty agy" ,{ tag = "popu
|
|||||||
---- 6. CUSTOM SCRIPTS AND FUNCTIONS ----
|
---- 6. CUSTOM SCRIPTS AND FUNCTIONS ----
|
||||||
-- 6.1 custom key assignments
|
-- 6.1 custom key assignments
|
||||||
hl.config({ input = { kb_options = "caps:hyper", }})
|
hl.config({ input = { kb_options = "caps:hyper", }})
|
||||||
hl.bind(hyper.. " + Hyper_L" ,function() hl.dispatch(hl.dsp.exec_cmd(ipc .. "plugin:clipper openPanel")) hl.dispatch(hl.dsp.submap("hyper-submap")) end)
|
-- hl.bind(hyper.. " + Hyper_L" ,function() hl.dispatch(hl.dsp.exec_cmd(ipc .. "plugin:clipper openPanel")) hl.dispatch(hl.dsp.submap("hyper-submap")) end)
|
||||||
|
hl.bind(hyper .. " + Hyper_L" ,hl.dsp.exec_cmd("noctalia msg panel-toggle clipboard"))
|
||||||
|
|
||||||
-- TODO fix remote screen and remote keyboard shortcuts
|
-- TODO fix remote screen and remote keyboard shortcuts
|
||||||
hl.bind(mainMod .. " + I" ,custom.remoteKM) -- Send Keyboard and Mouse input to phone via scrcpy
|
hl.bind(mainMod .. " + CTRL + I" ,custom.remoteKM) -- Send Keyboard and Mouse input to phone via scrcpy
|
||||||
hl.bind(mainMod .. " + SHIFT + I" ,custom.remoteScreen) -- Open Phone Screen via scrcpy
|
hl.bind(mainMod .. " + ALT + I" ,custom.remoteScreen) -- Open Phone Screen via scrcpy
|
||||||
hl.bind(mainMod .. "+ grave" ,custom.ToggleOddessyConnection) -- Toggle Oddesy monitor connection in hyprland
|
hl.bind(mainMod .. "+ grave" ,custom.ToggleOddessyConnection) -- Toggle Oddesy monitor connection in hyprland
|
||||||
|
|
||||||
---- 7.
|
---- 7.
|
||||||
hl.bind(mainMod .. " + comma" ,hl.dsp.exec_cmd(ipc .. "controlCenter toggle"))
|
hl.bind(mainMod .. " + comma" ,hl.dsp.exec_cmd(ipc .. "controlCenter toggle"))
|
||||||
hl.bind(mainMod .. " + period" ,hl.dsp.exec_cmd(ipc .. "settings toggle"))
|
hl.bind(mainMod .. " + period" ,hl.dsp.exec_cmd(ipc .. "settings toggle"))
|
||||||
hl.bind(mainMod .. " + CTRL + SHIFT + L " ,hl.dsp.exec_cmd(ipc .. "lockScreen lock"))
|
hl.bind(mainMod .. " + CTRL + SHIFT + L " ,hl.dsp.exec_cmd(ipc .. "lockScreen lock"))
|
||||||
|
hl.bind(mainMod .. " + ALT + L " ,hl.dsp.exec_cmd(ipc .. "lockScreen lock"))
|
||||||
hl.bind("ALT + C" ,hl.dsp.exec_cmd(ipc .. "plugin:clipper openPanel"))
|
hl.bind("ALT + C" ,hl.dsp.exec_cmd(ipc .. "plugin:clipper openPanel"))
|
||||||
hl.bind("code:148" ,hl.dsp.exec_cmd(ipc .. "plugin:noctalia-calulator toggle"))
|
hl.bind("code:148" ,hl.dsp.exec_cmd(ipc .. "plugin:noctalia-calulator toggle"))
|
||||||
hl.bind("PRINT" ,hl.dsp.exec_cmd("hyprshot -m active -m window --output-folder ~/Images/Screenshots"))
|
hl.bind("PRINT" ,hl.dsp.exec_cmd("hyprshot -m active -m window --output-folder ~/Images/Screenshots"))
|
||||||
|
|||||||
Reference in New Issue
Block a user