Fix transparency

This commit is contained in:
David Heinemeier Hansson
2025-06-09 18:16:35 +02:00
parent ba117e6f70
commit 94e0d553ec
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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