[xmonad] Dim unfocused windows

Brandon Allbery allbery.b at gmail.com
Sun Aug 17 00:14:41 UTC 2014


On Sat, Aug 16, 2014 at 8:06 PM, Ruslan Kiianchuk <
ruslan.kiianchuk at gmail.com> wrote:

> So there is XMonad.Hooks.FadeWindows
> <http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-FadeWindows.html>
> module that allows to make unfocused windows slightly transparent.
>
> But is it possible to just dim unfocused windows without changing their
> opacity (the way fadeing option does this for URXVT?).
>

Not without specific support in the compositing manager (or the application
owning the window, as with urxvt). You may want to look at recent versions
of compton (may need to build from git instead of using an OS package);
while it doesn't seem to support a window property such as xmonad uses to
communicate with compositing managers --- and if it did, you'd need to make
a local copy of FadeInactive referring to the new property, *and* a local
copy of FadeWindows so it links against your local FadeInactive, if you use
that --- it can do inactive-dim itself with appropriate options.

(I use: compton -cCfGb --inactive-dim=0.4 --detect-transient
--use-ewmh-active-win --backend=glx)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20140816/142de7f7/attachment.html>


More information about the xmonad mailing list