diff --git a/.config/hypr/windowRules.conf b/.config/hypr/windowRules.conf index 834f199..317f12e 100644 --- a/.config/hypr/windowRules.conf +++ b/.config/hypr/windowRules.conf @@ -23,5 +23,11 @@ windowrulev2 = workspace 22 silent,class:(^steam_app_) windowrulev2 = workspace 22 silent,title:(Default - Wine desktop) windowrulev2 = workspace 22,class:(^looking-glass-client$) -# Center all floating windows -windowrulev2 = center,floating:1 +# Center all floating windows, except those with an empty title +# e.g. Steam context menus otherwise would get centered +windowrulev2 = center,floating:1,title:(.+) + +# supress 'maximize' event from all windows as this might 'hide' another window +# on the same workspace. Essentially the windows might take up more space than +# the workspace has. +windowrulev2 = suppressevent maximize,class:(.*)