mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
update pacman cache in background
This commit is contained in:
parent
ac0b528c95
commit
35609bca5d
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Update Pacman Cache
|
||||
|
||||
[Service]
|
||||
ExecStart=yay -Sy
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
9
slstatus/.config/systemd/user/update-pacman-cache.timer
Normal file
9
slstatus/.config/systemd/user/update-pacman-cache.timer
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Run update-pacman-cache every 15m
|
||||
|
||||
[Timer]
|
||||
OnBootSec=300m
|
||||
OnUnitActiveSec=15m
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue
Block a user