summaryrefslogtreecommitdiff
path: root/.config/systemd/user
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user')
-rw-r--r--.config/systemd/user/lxpanel@.service4
-rw-r--r--.config/systemd/user/panel@.target3
l---------.config/systemd/user/panel@.target.requires/lxpanel@.service1
-rw-r--r--.config/systemd/user/synergy@.service1
-rw-r--r--.config/systemd/user/wm@.target1
l---------.config/systemd/user/wm@.target.requires/wmii@.service1
-rw-r--r--.config/systemd/user/wmii@.service3
7 files changed, 13 insertions, 1 deletions
diff --git a/.config/systemd/user/lxpanel@.service b/.config/systemd/user/lxpanel@.service
index 71e2114..ecded87 100644
--- a/.config/systemd/user/lxpanel@.service
+++ b/.config/systemd/user/lxpanel@.service
@@ -3,9 +3,13 @@ Description=LXDE Desktop Panel on X display %I
Documentation=man:lxpanel(1)
StopWhenUnneeded=true
After=wm@%i.target
+Before=panel@%i.target
[Service]
Type=simple
Environment=DISPLAY=%I
ExecStart=/usr/bin/lxpanel
Restart=always
+
+[Install]
+RequiredBy=panel@%i.target
diff --git a/.config/systemd/user/panel@.target b/.config/systemd/user/panel@.target
new file mode 100644
index 0000000..ed3dffd
--- /dev/null
+++ b/.config/systemd/user/panel@.target
@@ -0,0 +1,3 @@
+[Unit]
+Description=Desktop Panel (System Tray) on display %I
+StopWhenUnneeded=true
diff --git a/.config/systemd/user/panel@.target.requires/lxpanel@.service b/.config/systemd/user/panel@.target.requires/lxpanel@.service
new file mode 120000
index 0000000..06ed03f
--- /dev/null
+++ b/.config/systemd/user/panel@.target.requires/lxpanel@.service
@@ -0,0 +1 @@
+../lxpanel@.service \ No newline at end of file
diff --git a/.config/systemd/user/synergy@.service b/.config/systemd/user/synergy@.service
index 18961f2..df0640a 100644
--- a/.config/systemd/user/synergy@.service
+++ b/.config/systemd/user/synergy@.service
@@ -1,6 +1,7 @@
[Unit]
Description=Keyboard and mouse sharing on X display %I
StopWhenUnneeded=true
+Requires=panel@%i.target
[Service]
Type=simple
diff --git a/.config/systemd/user/wm@.target b/.config/systemd/user/wm@.target
index ac91fa1..c114bf5 100644
--- a/.config/systemd/user/wm@.target
+++ b/.config/systemd/user/wm@.target
@@ -1,3 +1,2 @@
[Unit]
Description=Window Manager on display %I
-Requires=wmii@%i.service
diff --git a/.config/systemd/user/wm@.target.requires/wmii@.service b/.config/systemd/user/wm@.target.requires/wmii@.service
new file mode 120000
index 0000000..1b202d2
--- /dev/null
+++ b/.config/systemd/user/wm@.target.requires/wmii@.service
@@ -0,0 +1 @@
+../wmii@.service \ No newline at end of file
diff --git a/.config/systemd/user/wmii@.service b/.config/systemd/user/wmii@.service
index 0442fca..4a81e3f 100644
--- a/.config/systemd/user/wmii@.service
+++ b/.config/systemd/user/wmii@.service
@@ -12,3 +12,6 @@ NotifyAccess=all
Environment=DISPLAY=%I
ExecStart=/usr/bin/bash -l -c 'exec 8>${XDG_RUNTIME_DIR}/x11-wm@%I; exec /usr/bin/wmii'
ExecStop=/usr/bin/wmiir xwrite /ctl Quit
+
+[Install]
+RequiredBy=wm@%i.service