vincentbernat.i3wm-configur.../dotfiles/systemd/polybar-weather.service
Vincent Bernat 7a63def56f polybar-weather: add a text to tell not to steal my API key
Otherwise, I'll encrypt it with my SSH key.
2021-08-10 13:26:46 +02:00

12 lines
342 B
Desktop File

[Unit]
Description=Update weather for Polybar
PartOf=graphical-session.target
After=polybar.service
[Service]
# Get one from https://openweathermap.org/, it's free
Environment=OWM_API_KEY=81687c78e0376836871a6cb9fc347249
ExecStart=/usr/bin/mkdir -p %h/.cache/i3
ExecStart=%h/.config/i3/bin/polybar-weather
Type=oneshot
RemainAfterExit=false