Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junker/gnotify
Common Lisp system to send desktop notifications
https://github.com/junker/gnotify
common-lisp libnotify notification notifications
Last synced: about 1 month ago
JSON representation
Common Lisp system to send desktop notifications
- Host: GitHub
- URL: https://github.com/junker/gnotify
- Owner: Junker
- License: mit
- Created: 2023-11-13T16:11:28.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-18T05:07:55.000Z (10 months ago)
- Last Synced: 2024-05-09T08:20:34.094Z (8 months ago)
- Topics: common-lisp, libnotify, notification, notifications
- Language: Common Lisp
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GNotify
System to send desktop notifications.
## Requirements
- [GLib](https://gitlab.gnome.org/GNOME/glib) installed
- [libnotify](https://github.com/GNOME/libnotify) installed## Installation
This system can be installed from [UltraLisp](https://ultralisp.org/) like this:
```common-lisp
(ql-dist:install-dist "http://dist.ultralisp.org/"
:prompt nil)
(ql:quickload "gnotify")
```## Usage
```common-lisp
(gnotify:init "test app")
(defvar *n* (gnotify:make "summary text" "body text"))
(gnotify:set-urgency *n* :critical)
(gnotify:set-timeout *n* 600000)
(gnotify:show *n*)
(gnotify:hide *n*)
```