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:
1 parent
6520ac7d25
commit
54e3b53b88
19 files changed
+55
-62
No files matched your search
@@ -0,0 +1,12 @@
|
||||
echo "Add an example for opting applications in to transparency"
|
||||
|
||||
looknfeel="${XDG_CONFIG_HOME:-$HOME/.config}/hypr/looknfeel.lua"
|
||||
if [[ -f $looknfeel ]] && ! rg -Fq 'o.transparent_window("my-app")' "$looknfeel"; then
|
||||
cat >>"$looknfeel" <<'LUA'
|
||||
|
||||
-- Opt another application in to Omarchy's standard transparency.
|
||||
-- Find its class with: hyprctl clients
|
||||
-- o.transparent_window("my-app")
|
||||
-- o.transparent_window("my-app", "0.9 0.85") -- Custom active/inactive opacity.
|
||||
LUA
|
||||
fi
|
||||
Reference in new issue
Block a user