mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-10 02:04:21 +02:00
polybar-weather: restart on failure
This commit is contained in:
parent
77db51b12c
commit
57b47f9d57
2 changed files with 3 additions and 1 deletions
|
@ -10,3 +10,5 @@ ExecStart=/usr/bin/mkdir -p %h/.cache/i3
|
|||
ExecStart=%h/.config/i3/bin/polybar-weather
|
||||
Type=oneshot
|
||||
RemainAfterExit=false
|
||||
Restart=on-failure
|
||||
RestartSec=3s
|
||||
|
|
|
@ -3,5 +3,5 @@ Description=Timer for weather update
|
|||
PartOf=graphical-session.target
|
||||
|
||||
[Timer]
|
||||
OnUnitActiveSec=1h
|
||||
OnUnitInactiveSec=1h
|
||||
OnClockChange=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue