| Portability | unportable |
|---|---|
| Stability | unstable |
| Maintainer | <vogt.adam@gmail.com> |
XMonad.Actions.RandomBackground
Contents
Description
An action to start terminals with a random background color
- 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
randomBg' produces a random hex number in the form '#xxyyzz'
randomBg :: RandomColor -> X ()
randomBg starts a terminal with the background color taken from randomBg'
This depends on the your terminal configuration field accepting an
argument like -bg '#ff0023'