summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua')
-rw-r--r--raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua b/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua
index 62c734e..a072f88 100644
--- a/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua
+++ b/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua
@@ -12,7 +12,8 @@ for i = 1, 10 do
end
-- Shell Binds
-hl.bind("SUPER + SUPER_L", hl.dsp.exec_cmd("dms ipc call spotlight toggle"), { release = true })
+hl.bind(mainMod .. "_L", function() end, { ignore_mods = true, transparent = true })
+hl.bind(mainMod .. "_L", hl.dsp.exec_cmd("dms ipc call spotlight toggle"), { ignore_mods = true, release = true })
hl.bind(mainMod .. " + P", hl.dsp.exec_cmd("dms ipc call clipboard toggle"))
hl.bind(mainMod .. " + M", hl.dsp.exec_cmd("dms ipc call processlist toggle"))
hl.bind(mainMod .. " + SHIFT + N", hl.dsp.exec_cmd("dms ipc call notifications toggle"))
@@ -20,8 +21,9 @@ hl.bind(mainMod .. " + N", hl.dsp.exec_cmd("dms ipc call notepad toggle"
hl.bind(mainMod .. " + S", hl.dsp.exec_cmd("dms ipc call settings toggle"))
hl.bind(mainMod .. " + Y", hl.dsp.exec_cmd("dms ipc call dankdash wallpaper"))
--- RaveSwitch
-hl.bind("SUPER + TAB", hl.dsp.exec_cmd([[raveswitch socat '{"OpenSwitch":{"reverse":false}}']]))
+-- RaveSwitch (Alt + Tab)
+hl.bind("ALT + TAB", hl.dsp.exec_cmd([[raveswitch socat '{"OpenSwitch":{"reverse":false}}']]))
+hl.bind("ALT + SHIFT + Tab", hl.dsp.exec_cmd([[raveswitch socat '{"OpenSwitch":{"reverse":true}}']]))
-- Apps
hl.bind(secondMod .. " + T", hl.dsp.exec_cmd("kitty"))
@@ -37,7 +39,6 @@ hl.bind("CTRL + SUPER + End", hl.dsp.exec_cmd("poweroff"))
-- Window management
hl.bind(mainMod .. " + Q", hl.dsp.window.kill())
hl.bind(mainMod .. " + V", hl.dsp.window.float())
-hl.bind(mainMod .. " + SHIFT + Tab", hl.dsp.exec_cmd([[raveswitch socat '{"OpenSwitch":{"reverse":true}}']]))
-- Move focus with mainMod + arrow keys
hl.bind(mainMod .. " + left", hl.dsp.focus({ direction = "left" }))