From 94e0d553ec7643dee19fc7029827e703d8ab70c4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 9 Jun 2025 18:16:35 +0200 Subject: [PATCH] Fix transparency --- default/hypr/looknfeel.conf | 4 ---- default/hypr/windows.conf | 6 ++++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/default/hypr/looknfeel.conf b/default/hypr/looknfeel.conf index 0ad7343..be474d1 100644 --- a/default/hypr/looknfeel.conf +++ b/default/hypr/looknfeel.conf @@ -24,10 +24,6 @@ general { decoration { rounding = 0 - # Change transparency of focused and unfocused windows - active_opacity = 0.98 - inactive_opacity = 0.95 - shadow { enabled = true range = 2 diff --git a/default/hypr/windows.conf b/default/hypr/windows.conf index 93773a3..8c5f373 100644 --- a/default/hypr/windows.conf +++ b/default/hypr/windows.conf @@ -2,10 +2,12 @@ windowrule = suppressevent maximize, class:.* # Force chromium into a tile to deal with --app bug -windowrule = tile, class:^(Chromium)$ +windowrule = tile, class:^(chromium)$ # More opacity for inactive Alacritty windows -windowrule = opacity 0.98 0.85, class:^(Alacritty)$ +windowrule = opacity 0.98 0.95, class:^(chromium)$ +windowrule = opacity 0.98 0.90, class:^(Alacritty)$ +windowrule = opacity 0.95 0.85, class:^(Spotify|obsidian)$ # Fix some dragging issues with XWayland windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0