aboutsummaryrefslogtreecommitdiff
path: root/dot_config/systemd/user/sway-session.target
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/systemd/user/sway-session.target')
-rw-r--r--dot_config/systemd/user/sway-session.target20
1 files changed, 16 insertions, 4 deletions
diff --git a/dot_config/systemd/user/sway-session.target b/dot_config/systemd/user/sway-session.target
index 56029b8..4637f0f 100644
--- a/dot_config/systemd/user/sway-session.target
+++ b/dot_config/systemd/user/sway-session.target
@@ -1,6 +1,18 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# This file is inspired from systemd's `graphical-session.target`
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
[Unit]
-Description=Sway session
+Description=Current sway user session
Documentation=man:systemd.special(7)
-BindsTo=graphical-session.target
-Wants=graphical-session-pre.target
-After=graphical-session-pre.target
+Requires=basic.target
+#RefuseManualStart=yes
+StopWhenUnneeded=yes
+BindsTo=wayland-session.target
+Wants=wayland-session-pre.target
+After=wayland-session-pre.target