[sway] add logging to start script

This commit is contained in:
Gwenhael Le Moine 2022-08-30 13:44:05 +02:00
parent 628705456a
commit db043bd581
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -73,6 +73,12 @@ cat <<EOF > "$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