1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-24 12:26:05 -05:00

Parameterize i3 service

This commit is contained in:
Jack Foltz 2018-12-03 18:50:17 -05:00
parent c315a09d37
commit 79fafe6fa8
Signed by: foltik
GPG Key ID: D1F0331758D1F29A

View File

@ -1,13 +1,13 @@
[Unit] [Unit]
Description=i3 Window Manager Description=i3 Window Manager
After=x11@0.target After=x11@%i.target
Requisite=x11@0.target Requisite=x11@%i.target
[Service] [Service]
Environment=DISPLAY=:0 Environment=DISPLAY=:%i
Type=simple Type=simple
ExecStart=/usr/bin/env bash -c 'exec 8>%t/x11-wm@0; exec i3' ExecStart=/usr/bin/env bash -c 'exec 8>%t/x11-wm@%i; exec i3'
SyslogIdentifier=i3 SyslogIdentifier=i3
[Install] [Install]
RequiredBy=x11@0.target RequiredBy=x11@%i.target