87 lines
2.0 KiB
Plaintext

# WINDOW RULES
# XWayland Video Bridge
# windowrule = workspace 10 silent,class:^(xwaylandvideobridge)$
# windowrule = opacity 0.0 override,class:^(xwaylandvideobridge)$
# windowrule = noanim,class:^(xwaylandvideobridge)$
# windowrule = noinitialfocus,class:^(xwaylandvideobridge)$
# windowrule = maxsize 1 1,class:^(xwaylandvideobridge)$
# windowrule = noblur,class:^(xwaylandvideobridge)$
# windowrule = move 2000 1100,class:^(xwaylandvideobridge)$
#Blanket Rule to avoid screenlock if an app is fullscreen
windowrule = idle_inhibit on, match:fullscreen 1
windowrule {
name = "Cava_Rules"
match:class = ^^(kitty-bg)$
opacity = 1.0
float = on
workspace = 10
fullscreen = on
}
windowrule {
name = "Rofi_Rules"
match:class = ^(Rofi)$
float = true
}
windowrule {
name = "POLKIT_Rules"
match:class = ^(org.kde.polkit-kde-authentication-agent-1)$
float = on
opacity = 1
}
windowrule {
name = "Hyprland_Picker_Rules"
match:class = ^(hypr"land-share-picker)$
float = on
size = 400 250
center = on
}
windowrule {
name = "Discord_Rules"
match:class = ^(vesktop||vesktop-bin)$
no_initial_focus = on
workspace = 14
fullscreen= on
}
windowrule {
name = "Browser_Rules"
match:class = ^(LibreWolf)$
workspace = 3
idle_inhibit = fullscreen
fullscreen = on
}
windowrule {
name = "Special_Rules"
match:class=^(URxvt||kitty||com.mitchellh.ghostty)$
workspace = special
float = on
size = 1520 800
center = on
}
### RULES FOR GAMES ###
#RULE VALE DEFINITION
#allows_input [on] Forces an XWayland window to receive input, even if it requests not to do so. (Might fix issues like Game Launchers not receiving focus for some reason)
#####
# Special Workspace Rules
#windowrule = workspace special,class:^(com.mitchellh.ghostty)$
#windowrule = float,class:^(com.mitchellh.ghostty)$
#windowrule = workspace special,class:^(kitty)$
#windowrule = float,class:^(kitty)$
# windowrule = workspace 5,class:^(kitty)$