diff --git a/anime-rss.service b/anime-rss.service new file mode 100644 index 0000000..efbb83c --- /dev/null +++ b/anime-rss.service @@ -0,0 +1,6 @@ +[Unit] +Description=Check for and add new episodes via anime-rss + +[Service] +Type=oneshot +ExecStart=python PATH/anime-rss.py PATH/config.json PATH/animes.json diff --git a/anime-rss.timer b/anime-rss.timer new file mode 100644 index 0000000..f410a92 --- /dev/null +++ b/anime-rss.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Check for and add new anime via anime-rss + +[Timer] +OnCalendar=*:0/55 +AccuracySec=1s +Persistent=true + +[Install] +WantedBy=timers.target diff --git a/install-systemd-unit.sh b/install-systemd-unit.sh new file mode 100755 index 0000000..e5beb2b --- /dev/null +++ b/install-systemd-unit.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +my_path=$(dirname $(realpath "$0")) + +cd $my_path + +cp anime-rss.timer ~/.config/systemd/user/ +sed "s|PATH|$my_path|g" anime-rss.service > ~/.config/systemd/user/anime-rss.service diff --git a/notfication-icon.png b/notfication-icon.png new file mode 100644 index 0000000..54aace4 Binary files /dev/null and b/notfication-icon.png differ