mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-20 10:57:19 +02:00
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).
This commit is contained in:
parent
fa58f9f7eb
commit
ab7ab873b0
5 changed files with 9 additions and 4 deletions
7
dotfiles/systemd/i3.socket
Normal file
7
dotfiles/systemd/i3.socket
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=i3 window manager
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Socket]
|
||||
ListenStream=%t/i3.sock
|
||||
ExecStartPost=/bin/systemctl --user set-environment I3SOCK=%t/i3.sock
|
Loading…
Add table
Add a link
Reference in a new issue