[hypr] feat: New modes
This commit is contained in:
parent
1de1c15acc
commit
e92c0b8f45
3 changed files with 81 additions and 3 deletions
|
|
@ -1,3 +1,62 @@
|
|||
# Resizing
|
||||
$mode_resize = Resize
|
||||
bind = $flag, R, submap, $mode_resize
|
||||
submap = $mode_resize
|
||||
|
||||
bind = , F, togglefloating
|
||||
|
||||
binde = , $right, resizeactive, 10 0
|
||||
binde = , $up, resizeactive, 0 -10
|
||||
binde = , $left, resizeactive, -10 0
|
||||
binde = , $down, resizeactive, 0 10
|
||||
|
||||
binde = , Right , resizeactive, 10 0
|
||||
binde = , Up, resizeactive, 0 -10
|
||||
binde = , Left, resizeactive, -10 0
|
||||
binde = , Down, resizeactive, 0 10
|
||||
|
||||
binde = Shift, $right, resizeactive, 50 0
|
||||
binde = Shift, $up, resizeactive, 0 -50
|
||||
binde = Shift, $left, resizeactive, -50 0
|
||||
binde = Shift, $down, resizeactive, 0 50
|
||||
|
||||
binde = Shift, Right, resizeactive, 50 0
|
||||
binde = Shift, Up, resizeactive, 0 -50
|
||||
binde = Shift, Left, resizeactive, -50 0
|
||||
binde = Shift, Down, resizeactive, 0 50
|
||||
|
||||
binde = $flag, $right, moveactive, 10 0
|
||||
binde = $flag, $up, moveactive, 0 -10
|
||||
binde = $flag, $left, moveactive, -10 0
|
||||
binde = $flag, $down, moveactive, 0 10
|
||||
|
||||
binde = $flag, Right, moveactive, 10 0
|
||||
binde = $flag, Up, moveactive, 0 -10
|
||||
binde = $flag, Left, moveactive, -10 0
|
||||
binde = $flag, Down, moveactive, 0 10
|
||||
|
||||
binde = $flag+Shift, $right, moveactive, 50 0
|
||||
binde = $flag+Shift, $up, moveactive, 0 -50
|
||||
binde = $flag+Shift, $left, moveactive, -50 0
|
||||
binde = $flag+Shift, $down, moveactive, 0 50
|
||||
|
||||
binde = $flag+Shift, Right , moveactive, 50 0
|
||||
binde = $flag+Shift, Up, moveactive, 0 -50
|
||||
binde = $flag+Shift, Left, moveactive, -50 0
|
||||
binde = $flag+Shift, Down, moveactive, 0 50
|
||||
|
||||
|
||||
# hyprlang if HYPRLAND_V_0_53
|
||||
#gesture = 3, swipe, move
|
||||
#gesture = 4, swipe, resize
|
||||
# hyprlang endif
|
||||
|
||||
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 +95,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue