mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-26 09:03:48 -07:00
X.L.Monitor: docs
This commit is contained in:
@@ -62,11 +62,11 @@ import Control.Monad
|
|||||||
-- Screenshot: <http://www.haskell.org/haskellwiki/Image:Xmonad-clock.png>
|
-- Screenshot: <http://www.haskell.org/haskellwiki/Image:Xmonad-clock.png>
|
||||||
|
|
||||||
data Monitor a = Monitor {
|
data Monitor a = Monitor {
|
||||||
prop :: Property, -- a window which satisfies that property is chosen as monitor
|
prop :: Property, -- ^ a window which satisfies this property is chosen as monitor
|
||||||
rect :: Rectangle, -- where to put monitor
|
rect :: Rectangle, -- ^ where to put monitor
|
||||||
visible :: Bool, -- is it visible?
|
visible :: Bool, -- ^ is it visible by default?
|
||||||
mbName :: (Maybe String), -- name of monitor (useful when we have many of them)
|
mbName :: (Maybe String), -- ^ name of monitor (useful when we have many of them)
|
||||||
persistent :: Bool -- on all layouts?
|
persistent :: Bool -- ^ is it shown on all layouts?
|
||||||
} deriving (Read, Show)
|
} deriving (Read, Show)
|
||||||
|
|
||||||
data MonitorMessage = ToggleMonitor | ShowMonitor | HideMonitor
|
data MonitorMessage = ToggleMonitor | ShowMonitor | HideMonitor
|
||||||
|
Reference in New Issue
Block a user