vincentbernat.i3wm-configur.../dotfiles/systemd/weather.service

14 lines
326 B
SYSTEMD
Raw Normal View History

2021-08-10 13:08:15 +02:00
[Unit]
Description=Update weather
2021-08-10 13:08:15 +02:00
PartOf=graphical-session.target
[Service]
# Get one from https://openweathermap.org/, it's free
2021-08-10 13:08:15 +02:00
Environment=OWM_API_KEY=81687c78e0376836871a6cb9fc347249
2021-12-07 19:51:47 +01:00
ExecStart=/usr/bin/mkdir -p %t/i3
ExecStart=%h/.config/i3/bin/weather
2021-08-10 13:08:15 +02:00
Type=oneshot
RemainAfterExit=false
2021-08-11 08:04:57 +02:00
Restart=on-failure
RestartSec=3s