Files
Hyprland-config/basic/windows.conf
2026-03-10 18:57:53 -05:00

78 lines
1.5 KiB
Plaintext

##############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
# Example windowrules that are useful
windowrule{
name = calculator
match:class = calc-term
opacity = 0.7
float = on
center = true
}
windowrule{
name = discord
match:class = vesktop
workspace = special:discord
}
windowrule {
# Ignore maximize requests from all apps. You'll probably like this.
name = suppress-maximize-events
match:class = .*
suppress_event = maximize
}
windowrule {
# Fix some dragging issues with XWayland
name = fix-xwayland-drags
match:class = ^$
match:title = ^$
match:xwayland = true
match:float = true
match:fullscreen = false
match:pin = false
no_focus = true
}
# Hyprland-run windowrule
windowrule {
name = move-hyprland-run
match:class = hyprland-run
move = 20 monitor_h-120
float = yes
}
windowrule {
name = calc-term
match:class = calc-term
pseudo = yes
float = yes
center = true
# move = cursor_x-10 cursor_y-10
size = monitor_w*.4 monitor_h*.4
}
windowrule{
name = btop
match:class = btop
float = yes
size = monitor_w*.9 monitor_h*.8
dim_around = true
}
windowrule{
name = popup-term
match:class = popup-term
float = yes
size = monitor_w*.9 monitor_h*.8
dim_around = true
}