dotfiles/home/.config/systemd/user/eww-bar.service

18 lines
332 B
SYSTEMD
Raw Normal View History

2023-01-25 17:54:40 +00:00
[Unit]
Description="Open eww bar"
PartOf=graphical-session.target
After=eww.service
PartOf=eww.service
2023-01-25 17:54:40 +00:00
[Service]
ExecStartPre=/usr/local/bin/eww ping
2023-01-25 17:54:40 +00:00
ExecStart=/usr/local/bin/eww open bar0
ExecStop=/usr/local/bin/eww close bar0
2023-01-25 17:54:40 +00:00
Type=oneshot
RemainAfterExit=true
2023-01-25 17:54:40 +00:00
Restart=on-failure
RestartSec=3s
[Install]
WantedBy=wm-ready.target