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