aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'wayland')
-rw-r--r--wayland/.config/systemd/user/wayland-session-pre.target8
-rw-r--r--wayland/.config/systemd/user/wayland-session.target7
2 files changed, 12 insertions, 3 deletions
diff --git a/wayland/.config/systemd/user/wayland-session-pre.target b/wayland/.config/systemd/user/wayland-session-pre.target
new file mode 100644
index 0000000..878130d
--- /dev/null
+++ b/wayland/.config/systemd/user/wayland-session-pre.target
@@ -0,0 +1,8 @@
+[Unit]
+Description=Session services which should run early before the wayland session is brought up
+Documentation=man:systemd.special(7)
+Requires=basic.target
+Before=wayland-session.target
+RefuseManualStart=yes
+StopWhenUnneeded=yes
+BindsTo=graphical-session-pre.target
diff --git a/wayland/.config/systemd/user/wayland-session.target b/wayland/.config/systemd/user/wayland-session.target
index 2c0630f..eaf21a6 100644
--- a/wayland/.config/systemd/user/wayland-session.target
+++ b/wayland/.config/systemd/user/wayland-session.target
@@ -1,6 +1,7 @@
[Unit]
-Description=wayland session
+Description=Current wayland user session
Documentation=man:systemd.special(7)
+Requires=basic.target
+RefuseManualStart=yes
+StopWhenUnneeded=yes
BindsTo=graphical-session.target
-Wants=graphical-session-pre.target
-After=graphical-session-pre.target