Skip to content
A slightly fancy status bar for xmonad
Haskell C
Find file
Latest commit adb47cb @travitch Version bump to 0.4.6
Failed to load latest commit information.
doc Try to add a screenshot to the README
src Merge pull request #135 from saksham0808/fix/emptyWS
.gitignore Removed unnecessary modifications
.travis.yml travis updates
LICENSE Initial import Try to add a screenshot to the README
taffybar.cabal Version bump to 0.4.6
taffybar.hs.example Fix minor bug in default configuration.
xmonad.hs.example added xmonad.hs.example

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. Example:

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)
  • MPRIS1 and MPRIS2 widgets
  • 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)
  • Better behavior when adding/removing monitors (never tried it)
  • Make MPRIS more configurable
Something went wrong with that request. Please try again.