mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49: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
|
let
|
||||||
fadeHook =
|
fadeHook =
|
||||||
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"
|
||||||
|
|
|
||||||
|
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue