fix: add restart timer to some services

This commit is contained in:
Matthieu Bessat 2024-07-08 11:07:46 +02:00
parent 93c9f6cfbb
commit df1082920e
6 changed files with 22 additions and 10 deletions

View file

@ -6,6 +6,6 @@ Description=xremap
[Service]
Restart=always
ExecStart=xremap {{ home }}/.config/xremap/config.yaml
ExecStart=xremap --watch=device {{ home }}/.config/xremap/config.yaml
# --watch does nothing

View file

@ -5,6 +5,8 @@ PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=wl-paste --watch cliphist store
Restart=always
RestartSec=3
[Install]
WantedBy=sway-session.target

View file

@ -5,6 +5,8 @@ PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=gammastep -l 49.1:1.33 -t 5000K:2500K
Restart=always
RestartSec=3
[Install]
WantedBy=sway-session.target

View file

@ -5,6 +5,8 @@ PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=swaybg -i {{ home }}/.dots/wallpapers/jupiter.jpg -m fill
Restart=always
RestartSec=10
[Install]
WantedBy=sway-session.target