diff options
Diffstat (limited to 'sway/.config/systemd/user')
3 files changed, 11 insertions, 3 deletions
diff --git a/sway/.config/systemd/user/sway-session-pre.target b/sway/.config/systemd/user/sway-session-pre.target new file mode 100644 index 0000000..99c36c9 --- /dev/null +++ b/sway/.config/systemd/user/sway-session-pre.target @@ -0,0 +1,6 @@ +[Unit] +Description=Session services which should run early before the sway session is brought up +Documentation=man:systemd.special(7) +Before=sway-session.target +BindsTo=wayland-session-pre.target +Before=wayland-session-pre.target diff --git a/sway/.config/systemd/user/sway-session.target b/sway/.config/systemd/user/sway-session.target index 7093368..0c57b61 100644 --- a/sway/.config/systemd/user/sway-session.target +++ b/sway/.config/systemd/user/sway-session.target @@ -1,6 +1,5 @@ [Unit] -Description=sway session +Description=Current sway user session Documentation=man:systemd.special(7) BindsTo=wayland-session.target -Wants=wayland-session-pre.target -After=wayland-session-pre.target +Before=wayland-session.target diff --git a/sway/.config/systemd/user/sway-session.target.d/xdg-desktop-autostart.conf b/sway/.config/systemd/user/sway-session.target.d/xdg-desktop-autostart.conf new file mode 100644 index 0000000..1387784 --- /dev/null +++ b/sway/.config/systemd/user/sway-session.target.d/xdg-desktop-autostart.conf @@ -0,0 +1,3 @@ +[Unit] +Wants=xdg-desktop-autostart.target +Before=xdg-desktop-autostart.target |