/ de-omarchy / default / hypr / windows.lua
swadhinbiswas Bindings: bar style cycle, notification center, Monitor Manager (SUPER+CTRL+M), shell restart; reload prefixes for hypr/keymap modules; float rules for plugin windows · 8/24/2026
56dc5ec
30 lines · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
-- 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" })