Added systemd units for hyprsolusctl
This commit is contained in:
parent
7d59666d90
commit
9a89a05fed
13
systemd/hyprsolus-check.service
Normal file
13
systemd/hyprsolus-check.service
Normal 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
|
||||||
11
systemd/hyprsolus-check.timer
Normal file
11
systemd/hyprsolus-check.timer
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user