summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsubh <subh@subh.space>2026-03-28 22:45:26 +0530
committersubh <subh@subh.space>2026-03-28 22:45:26 +0530
commit4f385e142bfa70081d55fce3627730510fe255c1 (patch)
treef3179ab2b356c837dac7541d9741a70b73adeba0
parent9c862fe1c018ad803e7e1ffddfab716db9b3e566 (diff)
added window swapping and floating toggle
-rw-r--r--hyprland/keybinds.conf12
1 files 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