diff --git a/hyprland.conf b/hyprland.conf index 66624a1..8f97d71 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -153,6 +153,7 @@ windowrule = rounding 0, floating:0, onworkspace:f[1] dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this + force_split = 2 } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more @@ -251,6 +252,14 @@ bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, F, fullscreen, bind = $mainMod, TAB, cyclenext, +# Window Resize +binde = $mainMod, right, resizeactive, 20 0 +binde = $mainMod, left, resizeactive, -20 0 +binde = $mainMod, up, resizeactive, 0 -20 +binde = $mainMod, down, resizeactive, 0 20 +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + # Audio bind = , XF86AudioMute, exec, $volume_mute binde = , XF86AudioLowerVolume, exec, $volume_up @@ -297,24 +306,9 @@ bind = $mainMod SHIFT, S, movetoworkspace, special:magic bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 -# Move/resize windows with mainMod + LMB/RMB and dragging -bindm = $mainMod, mouse:272, movewindow -bindm = $mainMod, mouse:273, resizewindow - -# Requires playerctl - -############################## -### WINDOWS AND WORKSPACES ### -############################## - -# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules - -# Example windowrule -# windowrule = float,class:^(kitty)$,title:^(kitty)$ - # Ignore maximize requests from apps. You'll probably like this. windowrule = suppressevent maximize, class:.* # Fix some dragging issues with XWayland windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 +