vincentbernat.i3wm-configur.../dotfiles/systemd/polybar.service
Vincent Bernat ab7ab873b0 systemd: try to use socket activation for i3
Unfortunately, this does not work as not everything is using
I3SOCK (notably `i3 --get-socketpath` does not).
2021-07-05 09:54:51 +02:00

9 lines
193 B
Desktop File

[Unit]
Description=Status bar for i3
PartOf=graphical-session.target
Requires=i3.socket
[Service]
ExecStart=%h/.config/i3/bin/polybar
ExecStop=/usr/bin/polybar-msg cmd quit
Restart=on-failure