summaryrefslogtreecommitdiffstats
path: root/i3status/.config/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'i3status/.config/systemd')
-rw-r--r--i3status/.config/systemd/user/weather.service3
-rw-r--r--i3status/.config/systemd/user/weather.timer6
2 files changed, 9 insertions, 0 deletions
diff --git a/i3status/.config/systemd/user/weather.service b/i3status/.config/systemd/user/weather.service
new file mode 100644
index 0000000..b980952
--- /dev/null
+++ b/i3status/.config/systemd/user/weather.service
@@ -0,0 +1,3 @@
+[Service]
+Type=oneshot
+ExecStart=%h/.bin/update-weather
diff --git a/i3status/.config/systemd/user/weather.timer b/i3status/.config/systemd/user/weather.timer
new file mode 100644
index 0000000..b90e4bf
--- /dev/null
+++ b/i3status/.config/systemd/user/weather.timer
@@ -0,0 +1,6 @@
+[Timer]
+OnStartupSec=0
+OnUnitActiveSec=900
+
+[Install]
+WantedBy=timers.target