mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
Export setOpacity from FadeInactive. Document how to make monitor transparent (X.L.Monitor)
This commit is contained in:
parent
6962d8f216
commit
3b4473f121
@ -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".
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user