diff options
Diffstat (limited to 'i3status/.config/systemd/user')
-rw-r--r-- | i3status/.config/systemd/user/rss-status.service | 4 | ||||
-rw-r--r-- | i3status/.config/systemd/user/rss-status.timer | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/i3status/.config/systemd/user/rss-status.service b/i3status/.config/systemd/user/rss-status.service index c13c7e2..be5f7e4 100644 --- a/i3status/.config/systemd/user/rss-status.service +++ b/i3status/.config/systemd/user/rss-status.service @@ -1,5 +1,7 @@ [Unit] Description=rss status bar block +PartOf=graphical-session.target +After=graphical-session.target [Service] Type=oneshot @@ -7,4 +9,4 @@ BusName=rs.i3status ExecStart=%h/.local/bin/rss-status [Install] -WantedBy=default.target +WantedBy=graphical-session.target diff --git a/i3status/.config/systemd/user/rss-status.timer b/i3status/.config/systemd/user/rss-status.timer index 337e69a..a0b3177 100644 --- a/i3status/.config/systemd/user/rss-status.timer +++ b/i3status/.config/systemd/user/rss-status.timer @@ -2,7 +2,8 @@ Description=rss status bar block [Timer] -OnActiveSec=1h +OnCalendar=hourly +AccuracySec=15m Persistent=true [Install] |