First version

This commit is contained in:
florian committed 2026-11-27 11:48:27 +01:00
commit a80cf70af7
8 files changed
+192

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
Package: notifier
Version: @VERSION@
Section: utils
Priority: optional
Architecture: all
Depends: python3 (>= 3.10), python3-gi, gir1.2-notify-0.7, python3-httpx, python3-keyring, python3-secretstorage
Maintainer: Florian dev@gansejunge.com
Description: Desktop notifier that pulls notifications from the gateway
Polls the notification backend and shows desktop notifications.
Run "notifier set-key" once to store your API key.
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
python3 -m compileall -q /usr/lib/notifier || true
systemctl --global enable notifier.service || true
fi
exit 0
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
set -e
if [ "$1" = "remove" ]; then
systemctl --global disable notifier.service || true
fi
exit 0
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/python3 /usr/lib/notifier/main.py "$@"
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Desktop notifier
[Service]
ExecStart=/usr/bin/notifier
Restart=on-failure
RestartSec=5
[Install]
WantedBy=default.target