This is a simple script for receiving Gotify messages on a Linux Desktop via dunst.
- receive messages via WebSocket
- display it via dust (notify-send)
- multiple priorities adopted from Gotify
- automatic fetch of your application Images
sudo apt install git make libnotify-bin python3-websocket
git clone https://github.com/ztpnk/gotify-dunst
cd gotify-dunst
sudo make install
yay -S gotify-dunst-git
- Run
systemctl --user enable --now gotify-dunst.service
(no sudo) - Open
~/.config/gotify-dunst/gotify-dunst.conf
in your favorite text editor. Modify the domain to your instance of Gotify and modify the token to a client token you get from the Gotify web app. - Run
systemctl --user restart gotify-dunst.service
. - (optionally) You can check the status of the service with
systemctl --user status gotify-dunst.service
.