diff options
author | Ryan Kavanagh <rak@rak.ac> | 2024-12-24 15:24:26 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2024-12-24 15:24:26 -0500 |
commit | 2bd60e4b3d3947d7dc57051c0d3461f00466550a (patch) | |
tree | 853931fae8eb1f14baa2277fe9daafc19e2cb370 | |
parent | update mbsync (diff) |
sway systemd config
-rw-r--r-- | dot_config/systemd/user/sway-session-shutdown.target | 10 | ||||
-rw-r--r-- | dot_config/systemd/user/sway-session.target | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/dot_config/systemd/user/sway-session-shutdown.target b/dot_config/systemd/user/sway-session-shutdown.target new file mode 100644 index 0000000..3e21266 --- /dev/null +++ b/dot_config/systemd/user/sway-session-shutdown.target @@ -0,0 +1,10 @@ +[Unit] +Description=Shutdown running Sway session +DefaultDependencies=no +StopWhenUnneeded=true + +Conflicts=graphical-session.target graphical-session-pre.target +After=graphical-session.target graphical-session-pre.target + +Conflicts=sway-session.target +After=sway-session.target diff --git a/dot_config/systemd/user/sway-session.target b/dot_config/systemd/user/sway-session.target new file mode 100644 index 0000000..56029b8 --- /dev/null +++ b/dot_config/systemd/user/sway-session.target @@ -0,0 +1,6 @@ +[Unit] +Description=Sway session +Documentation=man:systemd.special(7) +BindsTo=graphical-session.target +Wants=graphical-session-pre.target +After=graphical-session-pre.target |