aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--XMonad/Hooks/FadeInactive.hs1
-rw-r--r--XMonad/Layout/Monitor.hs5
2 files changed, 6 insertions, 0 deletions
diff --git a/XMonad/Hooks/FadeInactive.hs b/XMonad/Hooks/FadeInactive.hs
index 53f3809..4ebc38e 100644
--- a/XMonad/Hooks/FadeInactive.hs
+++ b/XMonad/Hooks/FadeInactive.hs
@@ -15,6 +15,7 @@
module XMonad.Hooks.FadeInactive (
-- * Usage
-- $usage
+ setOpacity,
fadeInactiveLogHook
) where
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".