aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/DynamicBars.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DynamicBars-use-ExtensibleStategopsychonauts2013-06-181-25/+24
| | | | | | | | | | | | | | Ignore-this: afacba51af2be8ede65b9bcf9b002a7 Hooks.DynamicBars was previously using an MVar and the unsafePerformIO hack ( http://www.haskell.org/haskellwiki/Top_level_mutable_state ) to store bar state. Since ExtensibleState exists to solve these sorts of problems, I've switched the file over to use unsafePerformIO instead. Some functions' types had to be changed to allow access to XState, but the public API is unchanged. darcs-hash:20130618074755-1e6bb-2fd1caa6f26c1c75c83bf0ef9e03a8f6c9225896.gz
* Rename variables "state" to avoid warnings about shadowingAdam Vogt2012-11-091-3/+3
| | | | | | | | | | | | Ignore-this: cd063d632412f758ca9fed6393521c8f XMonad core re-exports Control.Monad.State, which includes a function "state" if you happen to use mtl-2. Since there's a chance xmonad still works with mtl-1 avoid imports like: import XMonad hiding (state) darcs-hash:20121109012316-1499c-539514f4cd97ba8b18a8fbfd1a15333b46d962e1.gz
* add-dynamic-bars-moduleBen Boeckel2012-03-161-0/+136
Ignore-this: 41347c8f894d8d0b5095dfad86784cf4 This adds the X.H.DynamicBars module. It allows per-screen status bars to be easily managed and dynamically handles the number of screens changing. darcs-hash:20120316002204-24e3f-67000bafe484d1ff78675210e30e8e73d88233f3.gz