vincentbernat.i3wm-configur.../dotfiles/systemd/i3.socket
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

7 lines
173 B
SYSTEMD

[Unit]
Description=i3 window manager
PartOf=graphical-session.target
[Socket]
ListenStream=%t/i3.sock
ExecStartPost=/bin/systemctl --user set-environment I3SOCK=%t/i3.sock