The taffybar package

[Tags:bsd3, library, program]

A somewhat fancier desktop bar than xmobar. This bar is based on gtk2hs and provides several widgets (including a few graphical ones). It also sports an optional snazzy system tray.

Changes in v0.1.2:

[Skip to Readme]


Versions 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6
Dependencies base (>3 && <5), cairo, containers, dbus-core (>=0.9.1 && <1.0), dyre (>=0.8.6), filepath, gtk (>=0.12), gtk-traymanager, HStringTemplate, HTTP, mtl (>=2), network, old-locale, parsec (>=3.1), text, time, web-encodings, xdg-basedir, xmonad, xmonad-contrib [details]
License BSD3
Author Tristan Ravitch
Stability Unknown
Category System
Home page
Source repository head: git clone git://
Uploaded Tue Aug 16 03:08:00 UTC 2011 by TristanRavitch
Distributions Debian:0.4.5, NixOS:0.4.6
Downloads 3245 total (26 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-11-25 [all 4 reports]


  • System
    • Information
      • System.Information.Battery
      • System.Information.CPU
      • System.Information.Memory
    • System.Taffybar
      • System.Taffybar.Battery
      • System.Taffybar.FreedesktopNotifications
      • System.Taffybar.MPRIS
      • System.Taffybar.SimpleClock
      • System.Taffybar.Systray
      • System.Taffybar.Weather
      • Widgets
        • System.Taffybar.Widgets.Graph
        • System.Taffybar.Widgets.PollingBar
        • System.Taffybar.Widgets.PollingGraph
        • System.Taffybar.Widgets.PollingLabel
        • System.Taffybar.Widgets.VerticalBar
      • System.Taffybar.XMonadLog


Maintainer's Corner

For package maintainers and hackage trustees

Readme for taffybar

Readme for taffybar-0.1.2

This is a desktop information bar intended for use with XMonad and similar window managers. It is similar in spirit to xmobar; it is different in that it gives up some simplicity for a reasonable helping of eye candy. This bar is based on GTK+ (via gtk2hs) and uses fancy graphics where doing so is reasonable and useful.

The bar is configured much like XMonad. It uses ~/.config/taffybar/taffybar.hs as its configuration file. This file is just a Haskell program that invokes the real main function with a configuration object. The configuration file basically just specifies which widgets to use, though any arbitrary Haskell code can be executed before the bar is created.

There are some generic pre-defined widgets available:

  • Graph (modeled after the graph widget in Awesome)
  • Vertical bar (also similar to a widget in Awesome)
  • Periodically-updating labels, graphs, and vertical bars

There are also several more specialized widgets:

  • Battery widget
  • Textual clock
  • notifications (via dbus)
  • MPRIS widget (currently only supports MPRIS1)
  • Weather widget
  • XMonad log widget (listens on dbus instead of stdin)
  • System tray


An incomplete list of things that would be cool to have:

  • xrandr widget (for dealing changing clone/extend mode and orientation)
  • MPRIS2 widget
  • Better behavior when adding/removing monitors (never tried it)
  • Make MPRIS more configurable