From 4f385e142bfa70081d55fce3627730510fe255c1 Mon Sep 17 00:00:00 2001 From: subh Date: Sat, 28 Mar 2026 22:45:26 +0530 Subject: added window swapping and floating toggle --- hyprland/keybinds.conf | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hyprland/keybinds.conf b/hyprland/keybinds.conf index 83ac060..9545dba 100644 --- a/hyprland/keybinds.conf +++ b/hyprland/keybinds.conf @@ -5,7 +5,7 @@ bind = $mainMod, Q, killactive, bind = $mainMod|Shift, Q, exit, bind = $mainMod, F, exec, $fileManager -#bind = $mainMod, V, togglefloating, +bind = $mainMod|Shift, F , togglefloating, bind = $mainMod, R, exec, $menu bind = $mainMod|Shift, B, exec, /opt/scripts/stremio.sh bind = $mainMod, z, exec, zen-browser @@ -17,13 +17,13 @@ bind = $mainMod, W, exec, $browser bind = $mainMod, D, exec, $discord bind = $mainMod|Shift, D, exec, kill -9 `pidof discord` bind = $mainMod|Shift, A, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy -bind = $mainMod|Shift, L, exec, /opt/scripts/power.sh +bind = $mainMod|Ctrl, L, exec, /opt/scripts/power.sh bind = $mainMod, B, exec, /opt/scripts/wallpaper-picker.sh bind = $mainMod, N, exec, /opt/scripts/wifi-connect.sh bind = $mainMod|Shift, N, exec, /opt/scripts/wifi-disconnect.sh bind = $mainMod, M, exec, spotify bind = $mainMod|Shift, M, exec, kill -9 `pidof spotify` -bind = $mainMod|Shift, K, exec, keepassxc +bind = $mainMod|Ctrl, K, exec, keepassxc bind = $mainMod, S, exec, subl bind = $mainMod, V, exec, /opt/scripts/vpn_connect.sh bind = $mainMod|Shift, V, exec, /opt/scripts/vpn_disconnect.sh @@ -38,6 +38,12 @@ bind = $mainMod, l, movefocus, r bind = $mainMod, k, movefocus, u bind = $mainMod, j, movefocus, d +# Move windows with mainMod and vim keys +bind = $mainMod SHIFT, H, swapwindow, l +bind = $mainMod SHIFT, L, swapwindow, r +bind = $mainMod SHIFT ,K, swapwindow, u +bind = $mainMod SHIFT, J, swapwindow, d + # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 -- cgit v1.2.3