Add gh-notify as systemd timer on wm-ready

This commit is contained in:
ItsDrike 2023-01-25 12:49:18 +01:00
parent 29f82a4ac0
commit 9293df67bf
No known key found for this signature in database
GPG key ID: B014E761034AF742
3 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[Unit]
Description="Show unread GitHub notifications"
PartOf=graphical-session.target
[Service]
ExecStart=%h/.local/bin/scripts/gui/gh-notification -nd -v
Type=oneshot
RemainAfterExit=false
Restart=on-failure
RestartSec=3s
[Install]
WantedBy=wm-ready.target

View file

@ -0,0 +1,9 @@
[Unit]
Description="Timer for GitHub notification sendout"
PartOf=graphical-session.target
[Timer]
OnUnitActiveSec=1m
[Install]
WantedBy=wm-ready.target

View file

@ -0,0 +1 @@
/home/itsdrike/.config/systemd/user/gh-notification.timer