From 4fac1b88caced2905a133fc956305f9ef9395ce3 Mon Sep 17 00:00:00 2001 From: venus Date: Sun, 23 Aug 2026 21:10:58 -0500 Subject: [PATCH] modified lock screen keybind, added additional layout switching keybinds, changed noctalia integration keybinds --- basic/keybinds.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/basic/keybinds.lua b/basic/keybinds.lua index 88ce4ab..0d4fbc4 100644 --- a/basic/keybinds.lua +++ b/basic/keybinds.lua @@ -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 .. "+ O" ,hl.dsp.layout("swapnext loop")) 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 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}) @@ -137,17 +138,19 @@ hl.bind(mainMod .. "+ CTRL + G" ,hl.dsp.exec_cmd("kitty agy" ,{ tag = "popu ---- 6. CUSTOM SCRIPTS AND FUNCTIONS ---- -- 6.1 custom key assignments 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 -hl.bind(mainMod .. " + 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 .. " + CTRL + I" ,custom.remoteKM) -- Send Keyboard and Mouse input to phone 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 ---- 7. 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 .. " + 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("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"))