############################## ### 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{ name = obsidian match:class = obsidian workspace = special:obsidian } windowrule{ name = gaming match:class = steam workspace = special:gaming } windowrule{ name = thunderbird match:class = org.mozilla.Thunderbird workspace = special:email } 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 } xwayland { force_zero_scaling = 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 }