mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 12:44:35 +00:00
Add gh-notify as systemd timer on wm-ready
This commit is contained in:
parent
29f82a4ac0
commit
9293df67bf
13
home/.config/systemd/user/gh-notification.service
Normal file
13
home/.config/systemd/user/gh-notification.service
Normal 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
|
9
home/.config/systemd/user/gh-notification.timer
Normal file
9
home/.config/systemd/user/gh-notification.timer
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description="Timer for GitHub notification sendout"
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Timer]
|
||||
OnUnitActiveSec=1m
|
||||
|
||||
[Install]
|
||||
WantedBy=wm-ready.target
|
|
@ -0,0 +1 @@
|
|||
/home/itsdrike/.config/systemd/user/gh-notification.timer
|
Loading…
Reference in a new issue