mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/{xmonad,picom}: update opacity rules
This commit is contained in:
parent
422cbc1687
commit
4ee44c51cd
2 changed files with 8 additions and 30 deletions
|
|
@ -51,13 +51,16 @@ main =
|
|||
let
|
||||
fadeHook =
|
||||
composeOne
|
||||
[ className ~? "steam" -?> opaque
|
||||
[ className ~? "steam" -?> opaque
|
||||
|
||||
, isFirefoxFullscreen
|
||||
<||> isFirefoxPIP
|
||||
<||> isFirefoxVideo -?> opaque
|
||||
-- easier to paint over stuff
|
||||
, isFloating
|
||||
<&&> fmap not isUnfocused
|
||||
<&&> title ~? "Wplace" -?> transparency 0.5
|
||||
|
||||
, isUnfocused -?> transparency 0.08
|
||||
, className =? "firefox" -?> opaque
|
||||
|
||||
, isUnfocused -?> transparency 0.02
|
||||
, isFloating -?> transparency 0.08
|
||||
]
|
||||
in
|
||||
|
|
@ -260,17 +263,6 @@ isFirefoxPIP =
|
|||
className =? "firefox"
|
||||
<&&> 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 =
|
||||
[ NS "cmus"
|
||||
|
|
|
|||
|
|
@ -34,20 +34,6 @@
|
|||
"class_g = '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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue