57 lines
2.4 KiB
Text
57 lines
2.4 KiB
Text
####################################
|
|
### WINDOWS- AND WORKSPACE RULES ###
|
|
####################################
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
|
|
|
# Example windowrule v1
|
|
# windowrule = float, ^(kitty)$
|
|
|
|
# Example windowrule v2
|
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
|
|
# Ignore maximize requests from apps. You'll probably like this.
|
|
windowrulev2 = suppressevent maximize, class:.*
|
|
|
|
# Fix some dragging issues with XWayland
|
|
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
|
|
|
# Fix "buggy" tooltip focus stuff
|
|
#windowrulev2 = noinitialfocus,class:^jetbrains-(?!toolbox),floating:1
|
|
#windowrulev2 = stayfocused,class:^(jetbrains)$
|
|
windowrulev2 = stayfocused,title:^()$,class:^(steam)$
|
|
windowrulev2 = minsize 1 1,title:^()$,class:^(steam)$
|
|
|
|
# Fix odd behaviors in IntelliJ IDEs
|
|
# - Fix focus issues when dialogs are opened or closed
|
|
#windowrulev2 = windowdance,class:^(jetbrains-.*)$,floating:1
|
|
# - Fix splash screen showing in weird places and prevent annoying focus takeovers
|
|
windowrulev2 = center,class:^(jetbrains-.*)$,title:^(splash)$,floating:1
|
|
windowrulev2 = nofocus,class:^(jetbrains-.*)$,title:^(splash)$,floating:1
|
|
windowrulev2 = noborder,class:^(jetbrains-.*)$,title:^(splash)$,floating:1
|
|
# - Center popups/find windows
|
|
windowrulev2 = center,class:^(jetbrains-.*)$,title:^( )$,floating:1
|
|
windowrulev2 = stayfocused,class:^(jetbrains-.*)$,title:^( )$,floating:1
|
|
windowrulev2 = noborder,class:^(jetbrains-.*)$,title:^( )$,floating:1
|
|
# - Disable window flicker when autocomplete or tooltips appear
|
|
windowrulev2 = nofocus,class:^(jetbrains-.*)$,title:^(win.*)$,floating:1
|
|
|
|
# Workspace rules
|
|
windowrulev2 = workspace 2,class:^(VSCodium)$
|
|
windowrulev2 = workspace 10,class:^(firefox)$
|
|
|
|
# Opacity rules
|
|
windowrulev2 = opacity 0.9,class:^(Alacritty)$
|
|
#windowrulev2 = opacity 0.9,class:^(kitty)$
|
|
# windowrulev2 = opacity 0.99,class:^(code-oss)$
|
|
# windowrulev2 = opacity 0.99,class:^(Code)$
|
|
windowrulev2 = opacity 0.95,class:^(VSCodium)$
|
|
windowrulev2 = opacity 0.9,class:^([Ss]team)$
|
|
windowrulev2 = opacity 0.9,class:^(steamwebhelper)$
|
|
windowrulev2 = opacity 0.9,class:^(Spotify)$
|
|
windowrulev2 = opacity 0.9,class:^(org.gnome.NetworkDisplays)$
|
|
|
|
# Floating rules
|
|
windowrulev2 = float, class:^(firefox)$,title:(.*)(Bitwarden Password Manager)
|
|
windowrulev2 = float, class:^(org.gnome.NetworkDisplays)$
|