Fix hyprland window rules (after breaking change)

This commit is contained in:
ItsDrike 2026-01-06 18:14:46 +01:00
parent 04d3a7e9e3
commit 110dffb73f
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -2,52 +2,52 @@
# ### ASSIGNED WORKSPACES ### # ### ASSIGNED WORKSPACES ###
# ########################### # ###########################
windowrulev2 = workspace 2, class:^(firefox)$ windowrule = workspace 2, match:class firefox
windowrulev2 = workspace 4, class:^(discord)$ windowrule = workspace 4, match:class discord
windowrulev2 = workspace 4, class:^(vesktop)$ windowrule = workspace 4, match:class vesktop
windowrulev2 = workspace 4, class:^(Slack)$ windowrule = workspace 4, match:class WebCord
windowrulev2 = workspace 4, class:^(WebCord)$ windowrule = workspace 5, match:class Spotify
windowrulev2 = workspace 5, class:^(Spotify)$ windowrule = workspace 6, match:class Stremio
windowrulev2 = workspace 6, class:^(Stremio)$ windowrule = workspace 6, match:class com.stremio.stremio
windowrulev2 = workspace 6, class:^(com.stremio.stremio)$
# ############################################# # #############################################
# ### CORRECT SIZE / AUTO TILE / AUTO FLOAT ### # ### CORRECT SIZE / AUTO TILE / AUTO FLOAT ###
# ############################################ # ############################################
# Float and properly size qualculate # Float and properly size qualculate
windowrulev2 = float, class:^(qalculate-gtk)$ windowrule = float on, match:class qalculate-gtk
windowrulev2 = size 800 550, class:^(qalculate-gtk)$ windowrule = center on, match:class qalculate-gtk
windowrule = size 800 550, match:class qalculate-gtk
# Float hyprland-share-picker & some extra actions # Float hyprland-share-picker & some extra actions
windowrulev2 = float, class:^(hyprland-share-picker)$ windowrule = float on, match:class hyprland-share-picker
windowrulev2 = center, class:^(hyprland-share-picker)$ windowrule = center on, match:class hyprland-share-picker
windowrulev2 = animation slide, class:^(hyprland-share-picker)$ windowrule = animation slide, match:class hyprland-share-picker
# Float some pcmanfm windows # Float some pcmanfm windows
windowrulev2 = float, class:^(pcmanfm-qt)$,title:^(Mount)$ windowrule = float on, match:class pcmanfm-qt, match:title Mount
windowrulev2 = float, class:^(pcmanfm-qt)$,title:^(Preferences)$ windowrule = float on, match:class pcmanfm-qt, match:title Preferences
windowrulev2 = float, class:^(pcmanfm-qt)$,title:^(Move files)$ windowrule = float on, match:class pcmanfm-qt, match:title "Move files"
windowrulev2 = float, class:^(pcmanfm-qt)$,title:^(Search Files)$ windowrule = float on, match:class pcmanfm-qt, match:title "Search Files"
windowrulev2 = float, class:^(pcmanfm-qt)$,title:^(Copy Files)$ windowrule = float on, match:class pcmanfm-qt, match:title "Copy Files"
windowrulev2 = float, class:^(pcmanfm-qt)$,title:^(Confirm to replace files)$ windowrule = float on, match:class pcmanfm-qt, match:title "Confirm to replace files"
windowrulev2 = float, class:^(pcmanfm-qt|)$,title:^(Choose an Application)$ windowrule = float on, match:class pcmanfm-qt, match:title "Choose an Application"
# Float all windows that don't have a title nor a class # Float all windows that don't have a title nor a class
windowrulev2 = float, class:^$,title:^$ windowrule = float on, match:class ^$, match:title ^$
# Other apps # Other apps
windowrulev2 = float, class:^(file-roller)$ windowrule = float on, match:class file-roller
windowrulev2 = float, class:^(opensnitch_ui)$ windowrule = float on, match:class opensnitch_ui
windowrulev2 = float, class:^(Brave-browser)$,title:^(_crx_.+)$ windowrule = float on, match:class Brave-browser, match:title (_crx_.+)
windowrulev2 = float, class:^(qimgv)$,title:^(Add shortcut)$ windowrule = float on, match:class qimgv, match:title "Add shortcut"
# ############ # ############
# ### MISC ### # ### MISC ###
# ############ # ############
# Ignore maximize requests from apps. # Ignore maximize requests from apps.
windowrule = suppressevent maximize, class:.* windowrule = suppress_event maximize, match:class .*
# Fix some dragging issues with XWayland # Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 windowrule = no_focus on, match:class ^$, match:title ^$, match:xwayland true, match:float true, match:fullscreen false, match:pin false