diff options
| author | krolxon <krolyxon@tutanota.com> | 2026-01-01 21:54:39 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2026-01-01 21:54:39 +0530 |
| commit | 97c7c409510996c22b8f2205b10294ad3e14840a (patch) | |
| tree | 78e458e68289bc18136944dd6fa16948a952972c /.config/hypr/hyprland.conf | |
| parent | 177845352d6469f52bfd1c7d56e16fbeb4ecb245 (diff) | |
conform to new hyprland config format
Diffstat (limited to '.config/hypr/hyprland.conf')
| -rw-r--r-- | .config/hypr/hyprland.conf | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 36ed570..16d41e3 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -299,11 +299,35 @@ 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 +} + +# Hyprland-run windowrule +windowrule { + name = move-hyprland-run + + match:class = hyprland-run + + move = 20 monitor_h-120 + float = yes +} |
