Update readme formatting
Update readme formatting
Update readme
This plugin connects to a (self hosted) ntfy.sh service and shows the last messages from one of more topics.
Currently limited interaction is possible, it mostly just shows the entries.
Run rofi like:
rofi -show ntfy -modes ntfy
In rofi's configuration file add the following section:
configuration {
ntfy {
// Do not add trailing '/'
hostname: "https://ntfy.mydomain";
// topics
topics: ["work", "servers", "test"];
}
}
Or commandline:
rofi -ntfy-hostname "{url}" --ntfy-topics "work,servers" -show ntfy -modes ntfy
Dependency | Version |
---|---|
rofi | 1.7.5-dev or higher |
libcurl | >= 4 (lower untested) |
pkg-config | |
json-c | >= 0.16 |
rofi-ntfy uses autotools as build system. If installing from git, the following steps should install it:
$ autoreconf -i
$ mkdir build
$ cd build/
$ ../configure
$ make
$ make install