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

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

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]

Modules

[Last Documentation]

  • 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.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
      • System.Taffybar.WorkspaceSwitcher

Flags

Automatic Flags
NameDescriptionDefault
network-uri

network hack

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 3.0.0, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.3.0, 4.0.0, 4.0.1
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 (>=4.0.0.0), enclosed-exceptions (>=1.0.0.1), filepath, glib, gtk-traymanager (>=1.0.0 && <2.0.0), gtk3, HStringTemplate (>=0.8 && <0.9), HTTP, mtl (>=2), multimap (>=1.2.1), network (<3), network-uri (<3), old-locale, parsec (>=3.1), process (>=1.0.1.1), rate-limit (>=1.1.1), safe (>=0.3 && <1), split (>=0.1.4.2), stm, taffybar, text, time (>=1.4 && <1.9), time-locale-compat (>=0.1 && <0.2), time-units (>=1.0.0), transformers (>=0.3.0.0), tuple (>=0.3.0.2), unix, utf8-string, X11 (>=1.5.0.1), xdg-basedir (>=0.2 && <0.3), xml, xml-helpers, xmonad, xmonad-contrib [details]
License BSD-3-Clause
Author Tristan Ravitch
Maintainer tristan@nochair.net
Category System
Home page http://github.com/travitch/taffybar
Source repo head: git clone git://github.com/travitch/taffybar.git
Uploaded by eyevanmalicesun at 2018-04-02T01:28:59Z
Distributions Debian:3.2.2, NixOS:4.0.1
Reverse Dependencies 1 direct, 0 indirect [details]
Executables taffybar
Downloads 20932 total (105 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2021-06-02 [all 2 reports]

Readme for taffybar-1.0.0

[back to package description]

Build Status

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
  • Volume widget
  • Network activity
  • Textual clock
  • Freedesktop.org notifications (via dbus)
  • MPRIS1 and MPRIS2 widgets
  • Weather widget
  • Workspace, Window and Layout switchers
  • System tray
  • Freedesktop.org menu

See full documentation of release version here.

Installation

NOTE: gtk2hs-buildtools is needed for installations with GHC 8 and above, till there's better support for setup-depends.

Cabal

cabal install taffybar

Stack

stack install gtk2hs-buildtools
stack install taffybar