Closed niki-on-github closed 1 year ago
When the title or class is not available at window startup all rules that are not included in the dynamic rules will not be applied to the window.
Example windowrulev2 rule:
windowrulev2
windowrulev2 = tile,title:^(Spotify)$,xwayland:1,
Spotify always start in floating mode because the title is not available at startup (from log):
[LOG] Searching for matching rules for (title: )
My workaround for now is to call listener_mapWindow when listener_setTitleWindow is called (See niki-on-github:Hyprland:fix/xwayland-windowrulev2.
listener_mapWindow
listener_setTitleWindow
This is a known issue with spotify that doesn't have an easy solution. The current recommended workaround is to use spotifywm
doop of #382
When the title or class is not available at window startup all rules that are not included in the dynamic rules will not be applied to the window.
Example
windowrulev2
rule:Spotify always start in floating mode because the title is not available at startup (from log):
My workaround for now is to call
listener_mapWindow
whenlistener_setTitleWindow
is called (See niki-on-github:Hyprland:fix/xwayland-windowrulev2.