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.


[Skip to Readme]

Properties

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
Change log CHANGELOG.md
Dependencies base (>3 && <5), cairo, containers, dbus (>=0.10.1 && <1.0), dyre (>=0.8.6 && <0.9), enclosed-exceptions (>=1.0.0.1), filepath, gtk (>=0.12.1 && <0.15), gtk-traymanager (>=0.1.2 && <0.2), HStringTemplate (==0.8.*), HTTP, mtl (>=2), network (<3), network-uri (<3), old-locale, parsec (>=3.1), process (>=1.0.1.1), safe (>=0.3 && <1), split (>=0.1.4.2), stm, text, time (>=1.4 && <1.7), time-locale-compat (==0.1.*), transformers (>=0.3.0.0), utf8-string, X11 (>=1.5.0.1), xdg-basedir (==0.2.*), xmonad, xmonad-contrib [details]
License BSD3
Author Tristan Ravitch
Maintainer tristan@nochair.net
Stability Unknown
Category System
Home page http://github.com/travitch/taffybar
Source repository head: git clone git://github.com/travitch/taffybar.git
Uploaded Tue Jan 12 07:08:40 UTC 2016 by TristanRavitch
Distributions Debian:0.4.5, NixOS:0.4.6
Downloads 3221 total (36 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-01-12 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
network-urinetwork hackEnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for taffybar

Readme for taffybar-0.4.6

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
  • Freedesktop.org notifications (via dbus)
  • MPRIS1 and MPRIS2 widgets
  • Weather widget
  • XMonad log widget (listens on dbus instead of stdin)
  • System tray

TODO

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