项目作者: regolith-linux

项目描述 :
A freedesktop notification backend with a libfuse frontend.
高级语言: Vala
项目地址: git://github.com/regolith-linux/volyova.git
创建时间: 2019-12-07T21:21:53Z
项目社区:https://github.com/regolith-linux/volyova

开源协议:MIT License

下载


Volyova

Freedesktop.org Notification backend which provides a libfuse-based filesystem interface. It was inspired by Rofication.

Status

Non-working development phase.

Scope

This project is intended to provide a general purpose notification daemon for the dbus-based Freedesktop.org Notification specification.

Design

File Interface

File operations can be used to manage notifications as if they were plain files. Once the daemon is started, a libfuse mount is created and populated by volyova with the existing Notifications.

  1. ~/Notifications # The mount point for notifications
  2. ~/Notifications/count # Contains the total count of notifications
  3. ~/Notifications/all/ # Contains all notifications
  4. ~/Notifications/low/ # Contains low-priority notifications
  5. ~/Notifications/normal/ # Contains normal-priority notifications
  6. ~/Notifications/critical/ # Contains critical-priority notifications

Check for notifications

  1. if [ -z "$(ls -A $HOME/Notifications/all)" ]; then
  2. echo "You have notifications"
  3. else
  4. echo "You have no notifications"
  5. fi

Read a notification

  1. cat ~/Notifications/all/message.txt

Delete a notification

  1. rm ~/Notifications/low/message-1.txt

Clear all notifications

  1. rm ~/Notifications/all/*