diff options
Diffstat (limited to '.config/hypr/hyprland.conf')
| -rw-r--r-- | .config/hypr/hyprland.conf | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 4b234d7..0e54743 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -167,11 +167,15 @@ animations { 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 # always split to the right/bottom + default_split_ratio = 0.75 } # See https://wiki.hypr.land/Configuring/Master-Layout/ for more master { - new_status = master + new_status = slave + allow_small_split = true + mfact = 0.30 } # https://wiki.hypr.land/Configuring/Variables/#misc @@ -209,6 +213,7 @@ gesture = 4, horizontal, workspace gestures { workspace_swipe_cancel_ratio = 0.5 workspace_swipe_min_speed_to_force = 5 + workspace_swipe_use_r = true } ################### @@ -298,11 +303,25 @@ bindl = , XF86AudioPrev, exec, playerctl previous # See https://wiki.hypr.land/Configuring/Window-Rules/ for more # See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules -# Example windowrule -# windowrule = float,class:^(kitty)$,title:^(kitty)$ +# Example windowrules that are useful -# Ignore maximize requests from apps. You'll probably like this. -windowrule = suppressevent maximize, class:.* +windowrule { + # Ignore maximize requests from all apps. You'll probably like this. + name = suppress-maximize-events + match:class = .* -# Fix some dragging issues with XWayland -windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 + suppress_event = maximize +} + +windowrule { + # Fix some dragging issues with XWayland + name = fix-xwayland-drags + match:class = ^$ + match:title = ^$ + match:xwayland = true + match:float = true + match:fullscreen = false + match:pin = false + + no_focus = true +} |
