[sway] add logging to start script
This commit is contained in:
parent
628705456a
commit
db043bd581
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue