Make application transparency opt-in (#14253)

* Make application transparency opt-in

* Use the transparency helper for Kanagawa

* Address transparency review findings

* Toggle transparency for opaque windows too
This commit is contained in:
David Heinemeier Hansson authored and GitHub committed 2026-10-04 12:44:15 -04:00
1 parent 6520ac7d25
commit 54e3b53b88
19 files changed
+55 -62

No files matched your search

+7 -6
View File
@@ -2,9 +2,6 @@
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(
{
@@ -18,8 +15,12 @@ o.window(
{ no_focus = true }
)
-- App-specific tweaks (may remove default-opacity tag).
-- App-specific tweaks and terminal tags.
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" })
-- Terminals (including TUIs) and these desktop apps opt in to transparency.
o.transparent_window({ tag = "terminal" })
o.transparent_window("(omawrite|1[pP]assword|com\\.onepassword\\.OnePassword|org\\.gnome\\.Nautilus)")
-- The transparency hotkey opts otherwise opaque windows in with this tag.
o.transparent_window({ tag = "transparent" })