zprofile: capture sway log to file

This commit is contained in:
surtur 2022-07-03 11:53:51 +02:00
parent bf54955993
commit 5cdc5b1644
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -68,7 +68,7 @@ if [[ -z $DISPLAY ]]; then
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export XDG_CURRENT_DESKTOP=sway
exec systemd-cat --identifier=sway sway
exec systemd-cat --identifier=sway sway > $XDG_RUNTIME_DIR/sway.log 2>&1
elif [[ $(tty) == /dev/tty2 ]]; then
export MOZ_ENABLE_WAYLAND=1
export XDG_SESSION_TYPE=wayland