Add RestartSec=3 to eww and wallpaper services

This commit is contained in:
ItsDrike 2023-02-02 23:23:03 +01:00
parent 8a33d738af
commit 2d8ba074f5
No known key found for this signature in database
GPG key ID: B014E761034AF742
2 changed files with 2 additions and 0 deletions

View file

@ -5,6 +5,7 @@ PartOf=graphical-session.target
[Service] [Service]
ExecStart=/usr/local/bin/eww daemon --no-daemonize ExecStart=/usr/local/bin/eww daemon --no-daemonize
Restart=always Restart=always
RestartSec=3s
[Install] [Install]
WantedBy=wm-ready.target WantedBy=wm-ready.target

View file

@ -6,6 +6,7 @@ PartOf=graphical-session.target
Environment=WALLPAPER_IMAGE=%h/.local/share/background Environment=WALLPAPER_IMAGE=%h/.local/share/background
ExecStart=/usr/bin/swaybg --image $WALLPAPER_IMAGE ExecStart=/usr/bin/swaybg --image $WALLPAPER_IMAGE
Restart=always Restart=always
RestartSec=3s
[Install] [Install]
WantedBy=wm-ready.target WantedBy=wm-ready.target