Ensure eww daemon is running with eww ping in eww-bar service

This commit is contained in:
ItsDrike 2023-02-02 23:08:21 +01:00
parent 4c7e892acb
commit 8dfb109e83
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

@ -1,9 +1,11 @@
[Unit] [Unit]
Description="Open eww bar" Description="Open eww bar"
PartOf=graphical-session.target PartOf=graphical-session.target
After=eww.service
PartOf=eww.service PartOf=eww.service
[Service] [Service]
ExecStartPre=/usr/local/bin/eww ping
ExecStart=/usr/local/bin/eww open bar0 ExecStart=/usr/local/bin/eww open bar0
ExecStop=/usr/local/bin/eww close bar0 ExecStop=/usr/local/bin/eww close bar0
Type=oneshot Type=oneshot