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.lua8
1 files changed, 4 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 1999d6f..ddb61d2 100644
--- a/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua
+++ b/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua
@@ -34,8 +34,8 @@ hl.bind("CTRL + SUPER + Home", hl.dsp.exec_cmd("reboot"))
hl.bind("CTRL + SUPER + End", hl.dsp.exec_cmd("poweroff"))
-- Window management
-hl.bind(mainMod .. " + Q", hl.dsp.killactive())
-hl.bind(mainMod .. " + V", hl.dsp.togglefloating())
+hl.bind(mainMod .. " + Q", hl.dsp.window.kill())
+hl.bind(mainMod .. " + V", hl.dsp.window.float())
-- Move focus with mainMod + arrow keys
hl.bind(mainMod .. " + left", hl.dsp.focus({ direction = "left" }))
@@ -44,8 +44,8 @@ hl.bind(mainMod .. " + up", hl.dsp.focus({ direction = "up" }))
hl.bind(mainMod .. " + down", hl.dsp.focus({ direction = "down" }))
-- Move/resize windows with mainMod + mouse
-hl.bind(mainMod .. " + mouse:272", hl.dsp.exec_cmd("movewindow"))
-hl.bind(mainMod .. " + mouse:273", hl.dsp.exec_cmd("resizewindow"))
+hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag())
+hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize())
-- Laptop multimedia keys
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true, repeating = true })