The tianbar package

[Tags:library, mit, program, test]

A desktop bar using WebKit for rendering as much as possible. Based on Taffybar.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.3.0, 0.1.3.1, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.2.1, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.3.3.0, 0.3.4.0, 0.3.4.1, 0.3.5.0, 0.3.6.0, 0.4.0.0, 0.4.0.1, 0.4.1.0, 0.4.2.0, 0.4.3.0, 0.4.4.0, 0.4.5.0, 0.4.6.0, 0.4.6.3, 0.4.7.0, 0.4.8.0, 1.0.0.0, 1.0.1.0, 1.0.2.0, 1.0.3.0, 1.1.0.0, 1.1.0.1, 1.1.1.1, 1.2.0.0, 1.2.1.0, 1.2.2.0, 1.2.3.0, 1.2.4
Dependencies aeson, base (>3 && <5), blaze-html, blaze-markup, bytestring, containers, dbus, directory, filepath, gi-gdk, gi-gio, gi-glib, gi-gtk, gi-webkit2, haskell-gi-base, http-types, lens, mime-types, mtl, network, process, random, scientific, split, text, transformers, unordered-containers, utf8-string, vector, xdg-basedir, xmonad, xmonad-contrib [details]
License MIT
Author Alexey Kotlyarov
Maintainer a@koterpillar.com
Stability Unknown
Category System
Home page https://github.com/koterpillar/tianbar
Source repository head: git clone git://github.com/koterpillar/tianbar.git
Uploaded Fri Nov 18 04:34:16 UTC 2016 by AlexeyKotlyarov
Distributions NixOS:1.2.4
Downloads 4784 total (168 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-11-18 [all 3 reports]

Modules

  • System
    • Tianbar
      • System.Tianbar.XMonadLog

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for tianbar

Readme for tianbar-1.2.4

Tianbar

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.

Screenshot

Usage

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.

IBus

Displays the status of IBus input method.

Network

Displays the connection status from NetworkManager.

Power

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

Time

Displays the time and date.

Volume

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

Weather

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

XMonad

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

Quirks

  • 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.

Acknowledgements

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