fix(hyprland): Center most floating windows, supress maximize
This commit is contained in:
parent
a4fd9a0074
commit
33acfe1d8e
1 changed files with 8 additions and 2 deletions
|
@ -23,5 +23,11 @@ windowrulev2 = workspace 22 silent,class:(^steam_app_)
|
||||||
windowrulev2 = workspace 22 silent,title:(Default - Wine desktop)
|
windowrulev2 = workspace 22 silent,title:(Default - Wine desktop)
|
||||||
windowrulev2 = workspace 22,class:(^looking-glass-client$)
|
windowrulev2 = workspace 22,class:(^looking-glass-client$)
|
||||||
|
|
||||||
# Center all floating windows
|
# Center all floating windows, except those with an empty title
|
||||||
windowrulev2 = center,floating:1
|
# 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:(.*)
|
||||||
|
|
Loading…
Add table
Reference in a new issue