Copyright | (c) 2009 Anze Slosar translation to Haskell by Adam Vogt |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | <vogt.adam@gmail.com> |
Stability | unstable |
Portability | unportable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
An action to start terminals with a random background color
Synopsis
- randomBg' :: MonadIO m => RandomColor -> m String
- randomBg :: RandomColor -> X ()
- data RandomColor
Usage
Add to your keybindings something like:
,((modm .|. shiftMask, xK_Return), randomBg $ HSV 0xff 0x20
randomBg' :: MonadIO m => RandomColor -> m String Source #
randomBg'
produces a random hex number in the form '#xxyyzz'