From db043bd5814a32b9b5bbfa7fd6da5902a59c5fa0 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 30 Aug 2022 13:44:05 +0200 Subject: [PATCH] [sway] add logging to start script --- wayland/sway/SlackBuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wayland/sway/SlackBuild b/wayland/sway/SlackBuild index 3e4c4469..f19a4c0a 100755 --- a/wayland/sway/SlackBuild +++ b/wayland/sway/SlackBuild @@ -73,6 +73,12 @@ cat < "$PKG$PREFIX/bin/start_sway.sh" #!/bin/bash set -e +LOGFILE=/tmp/wsession-errors +true > \$LOGFILE +exec \&> \$LOGFILE +set -x +echo "sway Starting: \$( date )" + # avoid wlr error unset DISPLAY