Remove debug logging for sway
This commit is contained in:
parent
4fa6d591dd
commit
f99a35f9fc
|
@ -66,7 +66,7 @@ fi
|
||||||
# sway on tty1
|
# sway on tty1
|
||||||
if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && [[ $(tty) = /dev/tty1 ]]; then
|
if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
date=$(date +%Y-%m-%d-%H:%M:%S)
|
date=$(date +%Y-%m-%d-%H:%M:%S)
|
||||||
exec sway -d > ~/.local/share/sway-$date.log 2>&1
|
exec sway
|
||||||
fi
|
fi
|
||||||
# startx on tty2
|
# startx on tty2
|
||||||
[[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && exec startx -- vt1
|
[[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && exec startx -- vt1
|
||||||
|
|
Loading…
Reference in New Issue