This commit is contained in:
iFargle 2024-01-03 23:56:16 +09:00
parent 2ae2bb8f8e
commit 8dfca4ad44

View file

@ -83,21 +83,22 @@
''SUPER, mouse:272, movewindow'' ''SUPER, mouse:272, movewindow''
''SUPER, mouse:273, resizewindow'' ''SUPER, mouse:273, resizewindow''
]; ];
submap = "resize";
binde = [
'', H, resizeactive,-50 0''
'', L, resizeactive,50 0''
'', K, resizeactive,0 -50''
'', J, resizeactive,0 50''
'', left, resizeactive,-50 0''
'', right, resizeactive,50 0''
'', up, resizeactive,0 -50''
'', down, resizeactive,0 50''
];
bind = [
'', escape, submap, reset''
];
reset = {};
}; };
extraConfig = ''
# Resize
bind = SUPER, R, exec, notify-send "Entered resize mode. Press ESC to quit."
bind = SUPER, R, submap, resize
submap = resize
binde = , H, resizeactive,-50 0
binde = , L, resizeactive,50 0
binde = , K, resizeactive,0 -50
binde = , J, resizeactive,0 50
binde = , left, resizeactive,-50 0
binde = , right, resizeactive,50 0
binde = , up, resizeactive,0 -50
binde = , down, resizeactive,0 50
bind = , escape, submap, reset
submap = reset
'';
}; };
} }