[sway] re-enable logs

This commit is contained in:
Gwenhael Le Moine 2022-10-06 13:19:26 +02:00
parent cd3bf08b15
commit 981e7d407e
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -3,7 +3,7 @@
# variables
GITHUB_REPO=swaywm/sway
VERSION=${VERSION:-"latest"}
BUILD=4
BUILD=5
TAG=gwh
OUTPUT=/tmp
@ -71,13 +71,15 @@ cd ../
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 )"
#set -e
LOGFILE=\~/.wsession-errors
true > \$LOGFILE
exec &> \$LOGFILE
set -x
echo "sway Starting: \$( date )"
# Uncomment if mouse pointer is invisible
#export WLR_NO_HARDWARE_CURSORS=1