From 69465b940fd532a761de4bf27b5258b90f9cd67e Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Thu, 10 Feb 2022 21:14:53 +0100 Subject: [PATCH] Add systemd swayrd.service Fixes: https://todo.sr.ht/~tsdh/swayr/15 --- etc/swayrd.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 etc/swayrd.service diff --git a/etc/swayrd.service b/etc/swayrd.service new file mode 100644 index 0000000..822fcbc --- /dev/null +++ b/etc/swayrd.service @@ -0,0 +1,16 @@ +[Unit] +Description=Window switcher for Sway +Documentation=https://sr.ht/~tsdh/swayr/ +PartOf=sway-session.target +After=sway-session.target + +[Service] +Type=simple +Environment=RUST_BACKTRACE=1 +ExecStart=/usr/bin/swayrd +Restart=on-failure +# Remove or override this to send debug output to the journal +StandardOutput=null + +[Install] +WantedBy=sway-session.target