1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

make element non faded

This commit is contained in:
Stefan Ellmauthaler 2023-05-12 10:48:01 +02:00
parent c2b25b3bf2
commit 4665fbc673
Failed to extract signature

View File

@ -172,6 +172,7 @@ fadeHook act inact = fadeOutLogHook $ fadeAllBut exceptions act inact
<||> className =? "Chromium-browser" <||> className =? "Chromium-browser"
<||> className =? "Emacs" <||> className =? "Emacs"
<||> className =? "thunderbird" <||> className =? "thunderbird"
<||> className =? "element"
fadeAllBut :: Query Bool -> Rational -> Rational -> Query Rational fadeAllBut :: Query Bool -> Rational -> Rational -> Query Rational
fadeAllBut qry amt inact = do isInactive <- isUnfocused fadeAllBut qry amt inact = do isInactive <- isUnfocused