From c5e7f0f8e2983ea7a4d76e1e71ed0712c3c0ab1d Mon Sep 17 00:00:00 2001 From: Roman Cheplyaka Date: Mon, 17 Nov 2008 16:30:27 +0100 Subject: Export setOpacity from FadeInactive. Document how to make monitor transparent (X.L.Monitor) darcs-hash:20081117153027-3ebed-6327713d89216b663ac9796dfb6975f12e059c84.gz --- XMonad/Layout/Monitor.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'XMonad/Layout/Monitor.hs') diff --git a/XMonad/Layout/Monitor.hs b/XMonad/Layout/Monitor.hs index 50fecde..1bfc6a8 100644 --- a/XMonad/Layout/Monitor.hs +++ b/XMonad/Layout/Monitor.hs @@ -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". -- cgit v1.2.3