Files
Hyprland-config/basic/windows.conf
2026-03-11 20:59:45 -05:00

79 lines
1.6 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
windowrule{
name = compiler-window
match:tag = compiler
border_color = rgba(ccaaffee)
# col.inactive_border = rgba(333333aa)
border_size = 2
float = false
}
# put vesktop in a special workspace
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
opacity = 1
# 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
}