First version
This commit is contained in:
commit
a80cf70af7
8 files changed
+192
No files matched your search
@@ -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.
|
||||
|
||||
Executable
+8
@@ -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
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
|
||||
#!/bin/sh
|
||||
set -e
|
||||
if [ "$1" = "remove" ]; then
|
||||
systemctl --global disable notifier.service || true
|
||||
fi
|
||||
exit 0
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /usr/bin/python3 /usr/lib/notifier/main.py "$@"
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
[Unit]
|
||||
Description=Desktop notifier
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/notifier
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in new issue
Block a user