From 79fafe6fa860e1823bd4bf041549146c12643f5d Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Mon, 3 Dec 2018 18:50:17 -0500 Subject: [PATCH] Parameterize i3 service --- lain/.config/systemd/user/i3@.service | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lain/.config/systemd/user/i3@.service b/lain/.config/systemd/user/i3@.service index 654bca0..996a2ad 100644 --- a/lain/.config/systemd/user/i3@.service +++ b/lain/.config/systemd/user/i3@.service @@ -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