This commit is contained in:
Tibo De Peuter 2025-11-25 07:34:03 +01:00
parent d24e46da9e
commit 6e878f2ee3
7 changed files with 116 additions and 17 deletions

View file

@ -1,6 +1,7 @@
# TODO Do not hardcode this path
plugin = /nix/store/afivj8v5kfdsadxs4pa45vh0y65s3ajm-hy3-hl0.49.0/lib/libhy3.so
#plugin = /nix/store/afivj8v5kfdsadxs4pa45vh0y65s3ajm-hy3-hl0.49.0/lib/libhy3.so
plugin = /nix/store/fvy4gwas10pvww67gxc3da08kn2w3pm7-hy3-0.51.0/lib/libhy3.so
general:layout = hy3

View file

@ -85,9 +85,6 @@ animations {
}
gestures {
workspace_swipe = true
workspace_swipe_fingers = 3
workspace_swipe_min_fingers = false
workspace_swipe_distance = 300
workspace_swipe_invert = true
workspace_swipe_min_speed_to_force = 30
@ -103,6 +100,8 @@ gestures {
workspace_swipe_forever = true
workspace_swipe_use_r = false
#close_max_timeout = 1000
}
group {

View file

@ -1,3 +1,57 @@
# Resizing
$mode_resize = Resize
bind = $flag, R, submap, $mode_resize
submap = $mode_resize
bind = , $right, resizeactive, 10 0
bind = , $up, resizeactive, 0 -10
bind = , $left, resizeactive, -10 0
bind = , $down, resizeactive, 0 10
bind = , Right , resizeactive, 10 0
bind = , Up, resizeactive, 0 -10
bind = , Left, resizeactive, -10 0
bind = , Down, resizeactive, 0 10
bind = Shift, $right, resizeactive, 50 0
bind = Shift, $up, resizeactive, 0 -50
bind = Shift, $left, resizeactive, -50 0
bind = Shift, $down, resizeactive, 0 50
bind = Shift, Right , resizeactive, 50 0
bind = Shift, Up, resizeactive, 0 -50
bind = Shift, Left, resizeactive, -50 0
bind = Shift, Down, resizeactive, 0 50
bind = $flag, $right, moveactive, 10 0
bind = $flag, $up, moveactive, 0 -10
bind = $flag, $left, moveactive, -10 0
bind = $flag, $down, moveactive, 0 10
bind = $flag, Right , moveactive, 10 0
bind = $flag, Up, moveactive, 0 -10
bind = $flag, Left, moveactive, -10 0
bind = $flag, Down, moveactive, 0 10
bind = $flag+Shift, $right, moveactive, 50 0
bind = $flag+Shift, $up, moveactive, 0 -50
bind = $flag+Shift, $left, moveactive, -50 0
bind = $flag+Shift, $down, moveactive, 0 50
bind = $flag+Shift, Right , moveactive, 50 0
bind = $flag+Shift, Up, moveactive, 0 -50
bind = $flag+Shift, Left, moveactive, -50 0
bind = $flag+Shift, Down, moveactive, 0 50
gesture = 3, swipe, move
gesture = 4, swipe, resize
bind = $flag, R, submap, reset
bind = , Escape, submap, reset
bind = , Return, submap, reset
submap = reset
# System actions
$mode_system = System (l)ock, (s)leep, (h)ibernate, (r)eboot, (Shift+s)hutdown
bind = Ctrl+Alt, Delete, submap, $mode_system
@ -36,3 +90,11 @@ bind = , Return, submap, reset
submap = reset
# Ignore (all) keybinds. Useful when working with Virtual Machines.
$mode_ignore=Ignore keybinds - Press Control+Alt+Insert to escape.
bind = Ctrl+Alt, Insert, submap, $mode_ignore
submap = $mode_ignore
bind = Ctrl+Alt, Insert, submap, reset
submap = reset