dotfiles/home/.config/systemd/user/eww-window@.service

18 lines
334 B
SYSTEMD
Raw Normal View History

2023-01-25 17:54:40 +00:00
[Unit]
Description="Open %I eww window"
2023-01-25 17:54:40 +00:00
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
ExecStart=/usr/local/bin/eww open %i
ExecStop=/usr/local/bin/eww close %i
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