diff options
Diffstat (limited to 'i3status')
-rw-r--r-- | i3status/.config/systemd/user/weather.service | 3 | ||||
-rw-r--r-- | i3status/.config/systemd/user/weather.timer | 6 | ||||
-rw-r--r-- | i3status/Makefile | 9 |
3 files changed, 18 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..2351b21 --- /dev/null +++ b/i3status/.config/systemd/user/weather.service @@ -0,0 +1,3 @@ +[Service] +Type=oneshot +ExecStart=%h/.bin/%H/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 diff --git a/i3status/Makefile b/i3status/Makefile new file mode 100644 index 0000000..6627473 --- /dev/null +++ b/i3status/Makefile @@ -0,0 +1,9 @@ +include ../Makefile.include + +install: + @systemctl --user enable weather.timer + @systemctl --user start weather.timer + +uninstall: + @systemctl --user stop weather.timer + @systemctl --user disable weather.timer |