1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-24 04:22:50 -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]
Description=i3 Window Manager
After=x11@0.target
Requisite=x11@0.target
After=x11@%i.target
Requisite=x11@%i.target
[Service]
Environment=DISPLAY=:0
Environment=DISPLAY=:%i
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
[Install]
RequiredBy=x11@0.target
RequiredBy=x11@%i.target