taffybar-4.0.1: 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 HaskellSafe-Inferred
LanguageHaskell2010

System.Taffybar.SimpleConfig

Description

This module defines a simpler, but less flexible config system than the one offered in System.Taffybar.Context.

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 using this one.

Constructors

SimpleTaffyConfig 

Fields

Instances

Instances details
Default SimpleTaffyConfig Source # 
Instance details

Defined in System.Taffybar.SimpleConfig

data Position Source #

An ADT representing the edge of the monitor along which taffybar should be displayed.

Constructors

Top 
Bottom 

Instances

Instances details
Show Position Source # 
Instance details

Defined in System.Taffybar.SimpleConfig

Eq Position Source # 
Instance details

Defined in System.Taffybar.SimpleConfig

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.

simpleDyreTaffybar :: SimpleTaffyConfig -> IO () Source #

Start taffybar using dyre with a SimpleTaffybarConfig.

simpleTaffybar :: SimpleTaffyConfig -> IO () Source #

Start taffybar with a SimpleTaffybarConfig.

useAllMonitors :: TaffyIO [Int] Source #

Supply this value for monitorsAction to display the taffybar window on all monitors.

usePrimaryMonitor :: TaffyIO [Int] Source #

Supply this value for monitorsAction to display the taffybar window only on the primary monitor.

data StrutSize #

Instances

Instances details
Read StrutSize 
Instance details

Defined in Graphics.UI.GIGtkStrut

Show StrutSize 
Instance details

Defined in Graphics.UI.GIGtkStrut

Eq StrutSize 
Instance details

Defined in Graphics.UI.GIGtkStrut