Testing
This commit is contained in:
parent
77202fb1b9
commit
0978a2e8f5
1 changed files with 3 additions and 3 deletions
|
@ -33,11 +33,11 @@
|
|||
systemd.user.services = {
|
||||
"get-theme-times" = {
|
||||
enable = true;
|
||||
path = [ pkgs.curl ];
|
||||
path = [ pkgs.curl pkgs.fx ];
|
||||
script = ''
|
||||
echo "Activating get-theme-times systemd service"
|
||||
curl -s wttr.in/Kyoto?format=%S > /tmp/wttr.sunrise
|
||||
curl -s wttr.in/Kyoto?format=%s > /tmp/wttr.sunset
|
||||
curl -s "https://api.sunrise-sunset.org/json?lat=35.680&lng=135.03" | fx .results.sunrise > /tmp/wttr.sunrise
|
||||
curl -s "https://api.sunrise-sunset.org/json?lat=35.680&lng=135.03" | fx .results.sunset > /tmp/wttr.sunset
|
||||
echo "get-theme-times - complete"
|
||||
'';
|
||||
after = [ "networking-online.target" ];
|
||||
|
|
Loading…
Reference in a new issue