vanadium/{xmonad,picom}: update opacity rules

This commit is contained in:
Primrose 2025-08-26 21:10:02 +08:00
parent 422cbc1687
commit 4ee44c51cd
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 8 additions and 30 deletions

View file

@ -53,11 +53,14 @@ main =
composeOne composeOne
[ className ~? "steam" -?> opaque [ className ~? "steam" -?> opaque
, isFirefoxFullscreen -- easier to paint over stuff
<||> isFirefoxPIP , isFloating
<||> isFirefoxVideo -?> opaque <&&> fmap not isUnfocused
<&&> title ~? "Wplace" -?> transparency 0.5
, isUnfocused -?> transparency 0.08 , className =? "firefox" -?> opaque
, isUnfocused -?> transparency 0.02
, isFloating -?> transparency 0.08 , isFloating -?> transparency 0.08
] ]
in in
@ -260,17 +263,6 @@ isFirefoxPIP =
className =? "firefox" className =? "firefox"
<&&> title =? "Picture-in-Picture" <&&> title =? "Picture-in-Picture"
isFirefoxFullscreen :: Query Bool
isFirefoxFullscreen =
className =? "firefox"
<&&> isFullscreen
-- Firefox having multimedia content
isFirefoxVideo :: Query Bool
isFirefoxVideo =
className =? "firefox"
<&&> title ~? "YouTube"
myScratchpads :: [NamedScratchpad] myScratchpads :: [NamedScratchpad]
myScratchpads = myScratchpads =
[ NS "cmus" [ NS "cmus"

View file

@ -34,20 +34,6 @@
"class_g = 'fcitx'" "class_g = 'fcitx'"
"class_i = 'fcitx'" "class_i = 'fcitx'"
]; ];
blur = {
method = "dual_kawase";
strength = 5;
};
wintypes = {
dropdown_menu = {
opacity = 1;
blur-background = false;
};
popup_menu = {
opacity = 1;
blur-background = false;
};
};
}; };
}; };