-- See https://wiki.hypr.land/Configuring/Basics/Window-Rules/
o.window(".*", { suppress_event = "maximize" })
-- Tag all windows for default opacity (apps can override with -default-opacity tag).
o.window(".*", { tag = "+default-opacity" })
-- Fix some dragging issues with XWayland.
o.window(
{
class = "^$",
title = "^$",
xwayland = true,
float = true,
fullscreen = false,
pin = false,
},
{ no_focus = true }
)
-- App-specific tweaks (may remove default-opacity tag).
require("default.hypr.apps")
-- Apply default opacity after apps have had a chance to opt out.
o.window({ tag = "default-opacity" }, { opacity = "0.985 0.96" })
-- Plugin Manager / Keybindings (standalone Quickshell windows)
o.window({ title = "^(Omarchy Plugin Manager|Plugin Library|Omarchy Keybindings)$" }, { float = true, center = true, opaque = true, tag = "-default-opacity" })
o.window({ class = "^(org.quickshell|quickshell)$" }, { opaque = true, tag = "-default-opacity" })