summaryrefslogtreecommitdiffstats
path: root/.config/hypr/submaps/resize.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/submaps/resize.conf')
-rw-r--r--.config/hypr/submaps/resize.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/hypr/submaps/resize.conf b/.config/hypr/submaps/resize.conf
new file mode 100644
index 0000000..d77ada3
--- /dev/null
+++ b/.config/hypr/submaps/resize.conf
@@ -0,0 +1,20 @@
+bind = $mainMod, R, exec, hyprctl notify 0 10000 0 " RESIZE MODE (Left-Up-Down-Right / H-J-K-L)"
+bind = $mainMod, R, submap, resize
+
+$move = 25
+
+submap = resize
+ # arrows
+ binde = , right, resizeactive, 25 0
+ binde = , left, resizeactive, -25 0
+ binde = , up, resizeactive, 0 -25
+ binde = , down, resizeactive, 0 25
+ # vim style
+ binde = , L, resizeactive, 25 0
+ binde = , H, resizeactive, -25 0
+ binde = , J, resizeactive, 0 -25
+ binde = , K, resizeactive, 0 25
+ # reset
+ # bind = , Escape, exec, hyprctl notify-dismiss 1
+ bind = , Escape, submap, reset
+submap = reset