Added systemd units for hyprsolusctl

This commit is contained in:
Ethan Smith-Coss 2024-10-09 15:24:44 +01:00
parent 7d59666d90
commit 9a89a05fed
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,13 @@
[Unit]
Description=check for newly released Hyprland version every week
After=network.target
Wants=hyprsolus-check.timer
[Service]
ExecStart=/bin/bash /usr/local/bin/hyprsolusctl check
Type=simple
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=default.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=check for new release of Hyprland, weekly
Requires=hyprsolus-check.service
[Timer]
Unit=hyprsolus-check.service
OnCalendar=weekly
Persistent=true
[Install]
WantedBy=timers.target