mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-27 06:46:44 -04:00
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:
parent
e18a2f2adb
commit
37f8828b64
4 changed files with 14 additions and 10 deletions
|
|
@ -1,13 +0,0 @@
|
|||
[Service]
|
||||
ExecStart=@bindir@/foot --server=3
|
||||
Environment=WAYLAND_DISPLAY=%i
|
||||
UnsetEnvironment=LISTEN_PID LISTEN_FDS LISTEN_FDNAMES
|
||||
NonBlocking=true
|
||||
|
||||
[Unit]
|
||||
Requires=%N.socket
|
||||
Description=Foot terminal server mode for WAYLAND_DISPLAY=%i
|
||||
Documentation=man:foot(1)
|
||||
|
||||
[Install]
|
||||
WantedBy=wayland-instance@.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue