notifier

Checks current IM messages for different platforms and sends a notification for new messages
git clone https://src.jayvii.de/pub/notifier.git
Log | Files | Refs | README

commit bee2ba9583d7b961ccbbef750d249228a62df1b9
parent 14a44ec5c05d69dc461410d0c3e9642171d9bcd5
Author: JayVii <jayvii@posteo.de>
Date:   Mon, 23 Aug 2021 11:37:39 +0200

use autostart mechanism instead of systemd

Diffstat:
MMakefile | 13++++++++-----
Dim-notifier.services | 9---------
2 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,11 +1,14 @@ install: mkdir -p ${HOME}/.local/bin - mkdir -p ${HOME}/.config/systemd/user + #mkdir -p ${HOME}/.config/systemd/user + mkdir -p ${HOME}/.config/autostart install -m 700 ./im-notifier.sh ${HOME}/.local/bin/ - install -m 755 ./im-notifier.service ${HOME}/.config/systemd/user/ - systemctl --user daemon-reload + #install -m 755 ./im-notifier.service ${HOME}/.config/systemd/user/ + install -m 755 ./im-notifier.desktop ${HOME}/.config/autostart/ + #systemctl --user daemon-reload uninstall: ${RM} ${HOME}/.local/bin/im-notifier.sh - ${RM} ${HOME}/.config/systemd/user/im-notifier.service - systemctl --user daemon-reload + #${RM} ${HOME}/.config/systemd/user/im-notifier.service + ${RM} ${HOME}/.config/autostart/im-notifier.desktop + #systemctl --user daemon-reload diff --git a/im-notifier.services b/im-notifier.services @@ -1,9 +0,0 @@ -[Unit] -Description=Instant Messaage Notifier - -[Service] -ExecStart=%h/.local/bin/im-notifier.sh -Restart=always - -[Install] -WantedBy=default.target