A desktop bar based on WebKit https://github.com/koterpillar/tianbar

Latest on Hackage:1.2.5

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Alexey Kotlyarov
Maintained by a@koterpillar.com


Build status Hackage

Tianbar is a status bar for XMonad and possibly similar window managers. It is using WebKit as its rendering engine, meaning that the entire look and feel is customizable using HTML, CSS and JavaScript.



Tianbar will show index.html from its XDG configuration directory (usually $HOME/.config/tianbar). It it up to you to create that, add styles, widgets and other behavior.

A small collection of widgets written in JavaScript is bundled with Tianbar, see scripts directory. Widgets are loaded using RequireJS, which, as well as jQuery and other libraries required, are bundled with Tianbar.

For an example of RequireJS configuration, see the example index.html.


Displays the status of IBus input method.


Displays the connection status from NetworkManager.


Displays the battery status for all the batteries reporting through UPower.


Displays the time and date.


Displays the current PulseAudio volume. Note that module-dbus-protocol is required to be available.


Displays the weather at current location (determined via HTML geolocation API) through OpenWeatherMap.


XMonad status widget works by listening on DBus for messages sent by the provided logHook, see System.Tianbar.XMonadLog documentation for details.


  • AJAX requests from Tianbar are not subject to the same origin policy. This makes it easier to interact with various Web services. You can also make requests to the local files, for example, to extract CPU activity statistics from /proc/stat.
  • Interaction with the displayed Web page is limited. For example, text fields are not active if there are other windows on the screen.


The project is essentially a fork of Taffybar, stripped down of Haskell configuration and widgets and not yet having achieved functional parity with it.

comments powered byDisqus