mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-28 05:27:06 -05:00
Parameterize i3 service
This commit is contained in:
parent
c315a09d37
commit
79fafe6fa8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user