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