Ties systemd units to graphical-session.target

- wayland-instance template target was a mistake.
  Systemd does not support simultaneous same user session, so stop
  trying to go against that.
- Only start systemd units in Wayland environments.
This commit is contained in:
Max Gautier 2023-02-14 09:49:32 +01:00 committed by Daniel Eklöf
parent c12db68363
commit d3ffb0bde1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 14 additions and 10 deletions

9
foot-server.socket Normal file
View file

@ -0,0 +1,9 @@
[Socket]
ListenStream=%t/foot.sock
[Unit]
PartOf=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY
[Install]
WantedBy=graphical-session.target