hl.window_rule({ match = { class = "scrcpy" }, border_size = 5, float = true, dim_around = true, move = { 5, 40 } }) hl.window_rule({ name = "compiler-window", match = { tag = "compiler" }, ["col.active_border"] = "rgba(ccaaffee)", border_size = 2, float = false }) hl.window_rule({ match = { class = "steam" }, workspace = "special:gaming" }) hl.window_rule({ match = { class = ".*" }, suppress_event = "maximize" }) hl.window_rule({ match = { class = "^$", title = "^$", xwayland = true, float = true, fullscreen = false, pin = false }, no_focus = true }) hl.config({ xwayland = { force_zero_scaling = true } }) hl.window_rule({ match = { class = "hyprland-run" }, move = "20 monitor_h-120", -- Lua string interpolation could be used if monitor_h was known float = true }) hl.window_rule({ match = { class = "calc-term" }, pseudo = true, float = true, center = true, opacity = 1, size = "monitor_w*.4 monitor_h*.4" }) hl.window_rule({ match = { class = "btop" }, float = true, size = "monitor_w*.9 monitor_h*.8", dim_around = true }) hl.window_rule({ match = { class = "popup-term" }, float = true, size = "monitor_w*.9 monitor_h*.8", dim_around = true })