Hyprland : Add shortcuts to resize window
This commit is contained in:
@@ -44,9 +44,6 @@ $menu = pgrep -x wofi >/dev/null 2>&1 || wofi --gtk-dark --show drun
|
|||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
|
|
||||||
# exec-once = $terminal
|
|
||||||
# exec-once = nm-applet &
|
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
|
||||||
exec-once = waybar --config ~/.config/waybar/config.hyprland
|
exec-once = waybar --config ~/.config/waybar/config.hyprland
|
||||||
exec-once = foot --server
|
exec-once = foot --server
|
||||||
exec-once = blueman-applet
|
exec-once = blueman-applet
|
||||||
@@ -327,11 +324,6 @@ bind = $mainMod SHIFT, code:19, movetoworkspace, 10
|
|||||||
bind = $mainMod SHIFT, code:20, movetoworkspace, 11
|
bind = $mainMod SHIFT, code:20, movetoworkspace, 11
|
||||||
bind = $mainMod SHIFT, code:21, movetoworkspace, 12
|
bind = $mainMod SHIFT, code:21, movetoworkspace, 12
|
||||||
|
|
||||||
#bind = $mainMod SHIFT, left, hy3:movewindow, l
|
|
||||||
#bind = $mainMod SHIFT, right, hy3:movewindow, r
|
|
||||||
#bind = $mainMod SHIFT, up, hy3:movewindow, u
|
|
||||||
#bind = $mainMod SHIFT, down, hy3:movewindow, d
|
|
||||||
|
|
||||||
bind = $mainMod, left, hy3:movefocus, l
|
bind = $mainMod, left, hy3:movefocus, l
|
||||||
bind = $mainMod, right, hy3:movefocus, r
|
bind = $mainMod, right, hy3:movefocus, r
|
||||||
bind = $mainMod, up, hy3:movefocus, u
|
bind = $mainMod, up, hy3:movefocus, u
|
||||||
@@ -361,7 +353,7 @@ bind = $mainMod, mouse_down, workspace, e+1
|
|||||||
bind = $mainMod, mouse_up, workspace, e-1
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
rindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
# Laptop multimedia keys for volume and LCD brightness
|
# Laptop multimedia keys for volume and LCD brightness
|
||||||
@@ -378,6 +370,15 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
|
|||||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
bind = $mainMod, R,submap,resize
|
||||||
|
submap=resize
|
||||||
|
bind = , right, resizeactive, 10 0
|
||||||
|
bind = , left, resizeactive, -10 0
|
||||||
|
bind = , up, resizeactive, 0 -10
|
||||||
|
bind = , down, resizeactive, 0 10
|
||||||
|
bind = , Escape,submap,reset
|
||||||
|
submap=reset
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
### WINDOWS AND WORKSPACES ###
|
### WINDOWS AND WORKSPACES ###
|
||||||
##############################
|
##############################
|
||||||
|
|||||||
Reference in New Issue
Block a user