taffybar-2.1.0: A desktop bar similar to xmobar, but with more GUI

Copyright(c) Ivan A. Malison
LicenseBSD3-style (see LICENSE)
MaintainerIvan A. Malison
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

System.Taffybar.SimpleConfig

Description

 

Synopsis

Documentation

data SimpleTaffyConfig Source #

A configuration object whose interface is simpler than that of TaffybarConfig. Unless you have a good reason to use taffybar's more advanced interface, you should stick to this one.

Constructors

SimpleTaffyConfig 

Fields

data Position Source #

The side of the monitor at which taffybar should be displayed.

Constructors

Top 
Bottom 

defaultSimpleTaffyConfig :: SimpleTaffyConfig Source #

Sensible defaults for most of the fields of SimpleTaffyConfig. You'll need to specify the widgets you want in the bar with startWidgets, centerWidgets and endWidgets.

simpleTaffybar :: SimpleTaffyConfig -> IO () Source #

Start taffybar using SimpleTaffybarConfig.

useAllMonitors :: TaffyIO [Int] Source #

Display a taffybar window on all monitors.

usePrimaryMonitor :: TaffyIO [Int] Source #

Display the taffybar window on the primary monitor.