fix(hyprland): proper rule syntax for 0.52.1 and re-enable autostart
- Removed 'on/off' suffixes from window rules. - Replaced 'match:' with proper colon syntax for selectors. - Re-enabled swww, waybar, and boot scripts.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# Hyprland 0.53+ syntax
|
||||
windowrulev2 = suppress_event maximize, match:class .*
|
||||
windowrulev2 = suppress_event maximize, class:.*
|
||||
|
||||
# Tag all windows for default opacity (apps can override with -default-opacity tag)
|
||||
windowrulev2 = tag +default-opacity, match:class .*
|
||||
windowrulev2 = tag +default-opacity, class:.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrulev2 = no_focus on, match:class ^$, match:title ^$, match:xwayland 1, match:float 1, match:fullscreen 0, match:pin 0
|
||||
windowrulev2 = nofocus, class:^$, title:^$, xwayland:1, float:1, fullscreen:0, pin:0
|
||||
|
||||
# App-specific tweaks (may remove default-opacity tag)
|
||||
source = ~/.config/nomarchy/default/hypr/apps.conf
|
||||
|
||||
# Apply default opacity after apps have had a chance to opt out
|
||||
windowrulev2 = opacity 0.97 0.9, match:tag default-opacity
|
||||
windowrulev2 = opacity 0.97 0.9, tag:default-opacity
|
||||
|
||||
Reference in New Issue
Block a user