From 96eab430798d85bfac81501b4777b3651e13cc2c Mon Sep 17 00:00:00 2001 From: nobodyatandnothing <91722596+nobodyatandnothing@users.noreply.github.com> Date: Tue, 7 Jun 2022 14:28:56 -0400 Subject: [PATCH] Updated Systemd integration (markdown) --- Systemd-integration.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Systemd-integration.md b/Systemd-integration.md index e262dea..c892ff9 100644 --- a/Systemd-integration.md +++ b/Systemd-integration.md @@ -1,8 +1,4 @@ -> # :warning: Unsupported instructions -> -> **Running Sway as a systemd service is not supported**, nor recommended, nor required for anything. It may break your setup if you're not familiar enough with systemd. -> -> This guide is community-maintained. Please don't open issues if it doesn't work. +> :information_source: This guide is community-maintained. Please don't open issues if it doesn't work. ## Managing user applications with systemd @@ -52,9 +48,11 @@ journalctl --user --identifier sway Using `--follow` and `--this-boot` might be handy. [`journalctl(1)`](https://www.freedesktop.org/software/systemd/man/journalctl.html) for details. ## Running sway itself as a --user service - -It is not recommended that you run `sway` as a systemd service. -See [#5160](https://github.com/swaywm/sway/issues/5160) for finer details on some discussion around this. +> # :warning: Unsupported instructions +> +> **Running Sway as a systemd service is not supported**, nor recommended, nor required for anything. It may break your setup if you're not familiar enough with systemd. +> +> See [#5160](https://github.com/swaywm/sway/issues/5160) for finer details on some discussion around this. Place the following unit file either at `~/.config/systemd/user/sway.service` or `/etc/systemd/user/sway.service`: