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

Safe HaskellNone
LanguageHaskell2010

System.Taffybar.FreedesktopNotifications

Contents

Description

This widget listens on DBus for freedesktop notifications (http:/developer.gnome.orgnotification-spec/). Currently it is somewhat ugly, but the format is somewhat configurable. A visual overhaul of the widget is coming.

The widget only displays one notification at a time and notifications are cancellable.

Synopsis

Types

data Notification Source #

A simple structure representing a Freedesktop notification

data NotificationConfig Source #

Constructors

NotificationConfig 

Fields

Constructor

notifyAreaNew :: NotificationConfig -> IO Widget Source #

Create a new notification area with the given configuration.

defaultNotificationConfig :: NotificationConfig Source #

The default formatter is one of * Summary : Body * Summary * (N) Summary : Body * (N) Summary depending on the presence of a notification body, and where N is the number of queued notifications.