1
0
mirror of https://github.com/xmonad/xmonad-contrib.git synced 2025-07-26 09:41:52 -07:00

Export setOpacity from FadeInactive. Document how to make monitor transparent (X.L.Monitor)

This commit is contained in:
Roman Cheplyaka
2008-11-17 15:30:27 +00:00
parent 6962d8f216
commit 3b4473f121
2 changed files with 6 additions and 0 deletions
XMonad

@@ -15,6 +15,7 @@
module XMonad.Hooks.FadeInactive (
-- * Usage
-- $usage
setOpacity,
fadeInactiveLogHook
) where

@@ -126,6 +126,11 @@ addNamedPersistentMonitor name p r = ModifiedLayout (Monitor p r True (Just name
-- 'addNamedMonitor' or 'addNamedPersistentMonitor' to be able to toggle
-- them independently.
--
-- - To make monitor transparent, import "XMonad.Hooks.FadeInactive" and change
-- ManageHook to (@0xAAAAAAAA@ is the level of opacity):
--
-- > className =? "Cairo-clock"--> (ask >>= liftX . flip setOpacity 0xAAAAAAAA >> doIgnore)
--
-- - You can display monitor only on specific workspaces with
-- "XMonad.Layout.PerWorkspace".