mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-02 20:28:19 +02:00
26 lines
678 B
Lua
26 lines
678 B
Lua
-- 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.
|
|
hl.window_rule({
|
|
match = {
|
|
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.97 0.9" })
|