Update syntax

This commit is contained in:
2026-01-05 22:55:21 +01:00
parent 5574a88801
commit 413397f08f
3 changed files with 23 additions and 24 deletions

View File

@@ -277,21 +277,18 @@ bindl=,switch:on:Lid Switch, exec, hyprlock --immediate
### WINDOWS AND WORKSPACES ###
##############################
# Ignore maximize requests from apps. You'll probably like this.
windowrule = suppressevent maximize, class:.*
# Ignore maximize requests from apps
windowrulev2 = suppressevent:maximize, class:^(.*)$
# Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
windowrulev2 = nofocus:1, class:^(?!)$, title:^(?!)$, xwayland:1, floating:1, fullscreen:0, pinned:0
# Make some windows never opaque
windowrule = opacity 1 1 override,title:(?i).*YouTube.*
windowrule = opacity 1 1 override,title:(?i).*Netflix.*
windowrule = opacity 1 1 override,class: Spotify
windowrule = opacity 1 1 override,class: jetbrains-idea-ce
windowrule = opacity 1 1 override,class: jetbrains-pycharm-ce
windowrulev2 = opacity:1.0, override:1, title:^(?i).*YouTube.*$
windowrulev2 = opacity:1.0, override:1, title:^(?i).*Netflix.*$
windowrulev2 = opacity:1.0, override:1, class:^Spotify$
windowrulev2 = opacity:1.0, override:1, class:^jetbrains-idea-ce$
windowrulev2 = opacity:1.0, override:1, class:^jetbrains-pycharm-ce$
# All the menus
windowrule = opacity 1 1 override, floating:1
# "Open File" dialogues will now be centered
windowrulev2 = center, title:^(?i)Open Files$
# All the menus (floating + always opaque)
windowrulev2 = opacity:1.0, override:1, floating:1