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

[ bsd3, library, program, system ] [ Propose Tags ]

Taffybar is a gtk+3 (through gtk2hs) based desktop information bar, intended primarily for use with XMonad, though it can also function alongside other EWMH compliant window managers. It is similar in spirit to xmobar, but it differs in that it gives up some simplicity for a reasonable helping of eye candy.

[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, 1.0.0, 1.0.1, 1.0.2
Change log CHANGELOG.md
Dependencies alsa-mixer (>=0.2.0), base (>3 && <5), cairo, ConfigFile, containers, dbus (>=1.0.0 && <2.0.0), directory, dyre (>=0.8.6 && <0.9), either (>=, enclosed-exceptions (>=, filepath, gi-gdk, gi-gdkpixbuf (>=2.0.15), gi-gdkx11, gi-gtk, glib, gtk-traymanager (>=1.0.1 && <2.0.0), gtk3 (>=0.14.9), haskell-gi-base, HStringTemplate (==0.8.*), HTTP, mtl (>=2), multimap (>=1.2.1), network (<3), network-uri (<3), old-locale, parsec (>=3.1), process (>=, rate-limit (>=1.1.1), safe (>=0.3 && <1), split (>=, stm, taffybar, text, time (>=1.4 && <1.9), time-locale-compat (==0.1.*), time-units (>=1.0.0), transformers (>=, transformers-base (>=0.4), tuple (>=, unix, utf8-string, X11 (>=, xdg-basedir (==0.2.*), xml, xml-helpers, xmonad, xmonad-contrib [details]
License BSD-3-Clause
Author Tristan Ravitch
Maintainer tristan@nochair.net
Revised Revision 1 made by eyevanmalicesun at Tue Apr 24 04:08:21 UTC 2018
Category System
Home page http://github.com/travitch/taffybar
Source repo head: git clone git://github.com/travitch/taffybar.git
Uploaded by eyevanmalicesun at Fri Apr 20 01:58:02 UTC 2018
Distributions Debian:0.4.5, NixOS:0.4.6
Executables taffybar
Downloads 5534 total (86 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-04-20 [all 3 reports]
Hackage Matrix CI


  • System
    • Information
      • System.Information.Battery
      • System.Information.CPU
      • System.Information.CPU2
      • System.Information.DiskIO
      • System.Information.EWMHDesktopInfo
      • System.Information.Memory
      • System.Information.Network
      • System.Information.SafeX11
      • System.Information.StreamInfo
      • System.Information.Volume
      • System.Information.X11DesktopInfo
    • System.Taffybar
      • System.Taffybar.Battery
      • System.Taffybar.CPUMonitor
      • System.Taffybar.CommandRunner
      • System.Taffybar.Context
      • System.Taffybar.DiskIOMonitor
      • System.Taffybar.FSMonitor
      • System.Taffybar.FreedesktopNotifications
      • Hooks
        • System.Taffybar.Hooks.PagerHints
      • System.Taffybar.IconImages
      • System.Taffybar.LayoutSwitcher
      • System.Taffybar.MPRIS
      • System.Taffybar.MPRIS2
      • Menu
        • System.Taffybar.Menu.DesktopEntry
        • System.Taffybar.Menu.Menu
        • System.Taffybar.Menu.MenuWidget
        • System.Taffybar.Menu.XdgMenu
      • System.Taffybar.NetMonitor
      • System.Taffybar.Pager
      • System.Taffybar.SimpleClock
      • System.Taffybar.Systray
      • System.Taffybar.TaffyPager
      • Text
        • System.Taffybar.Text.CPUMonitor
        • System.Taffybar.Text.MemoryMonitor
      • System.Taffybar.ToggleMonitor
      • System.Taffybar.Volume
      • System.Taffybar.Weather
      • Widgets
        • System.Taffybar.Widgets.Graph
        • System.Taffybar.Widgets.Icon
        • System.Taffybar.Widgets.PollingBar
        • System.Taffybar.Widgets.PollingGraph
        • System.Taffybar.Widgets.PollingLabel
        • System.Taffybar.Widgets.Util
        • System.Taffybar.Widgets.VerticalBar
      • System.Taffybar.WindowSwitcher
      • System.Taffybar.WorkspaceHUD



network hack


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for taffybar-1.0.2

[back to package description]


Hackage Build Status Gitter chat License BSD3

Taffybar is a gtk+3 (through gtk2hs) based desktop information bar, intended primarily for use with XMonad, though it can also function alongside other EWMH compliant window managers. It is similar in spirit to xmobar, but it differs in that it gives up some simplicity for a reasonable helping of eye candy.

Development Status

Taffybar is under active development and has many exciting but potentially breaking changes ahead. All of the planned changes that will be occuring in the near future are tracked in this github project. Particularly significant is #265 which is actually already complete, and available in this branch. New users are encouraged to build from source and use this aforementioned branch to avoid having to rewrite their configs when the new version of taffybar is released.


Taffybar can be installed in a number of different ways:


Though it is admittedly a bit complicated to set up properly, using stack is the preferred approach for installing taffybar, because it makes the build process stable and repeatable. Even if you are unfamiliar with stack, or even haskell in general, you should be able to get things working by using the taffybar's quick-start script:

curl -sSL https://raw.githubusercontent.com/travitch/taffybar/master/quick-start.sh | bash

This script will clone the taffybar repository into a subdirectory of the default taffybar configuration directory, and copy the example cabal, stack and taffybar.hs files into the same location. It will then install a binary my-taffybar to $HOME/.local/bin, which can be executed to run taffybar. Note that with this approach, running the taffybar binary WILL NOT work; you must run the binary that is produced by the stack build in your local directory. The name of the binary can be changed in the cabal file in the taffybar configuration directory.


Cabal installation is a simple matter of installing taffybar from hackage:

cabal install taffybar


Like xmobar and XMonad, taffybar is configured in haskell. Taffybar depends on dyre to automatically detect changes to its configuration file ($XDG_CONFIG_HOME/taffybar/taffybar.hs) and recompile when appropriate.

For more details about how to configure taffybar, see the full documentation.