fix: sway config

This commit is contained in:
AngeD 2023-06-29 12:09:36 +02:00
parent d4811e4597
commit 4d2e4fff14
13 changed files with 38 additions and 357 deletions

View file

@ -1,9 +1,11 @@
if [ "$XDG_VTNR" = 1 ]; then
GUILOG="$HOME/.local/share/xorg/gui.log"
GUILOG="$HOME/.local/share/gui.log"
mkdir -p "$(dirname "$GUILOG")"
mv "$GUILOG" "$GUILOG.old" 2> /dev/null
exec startx > "$GUILOG" 2>&1
#export XDG_CURRENT_DESKTOP=sway && exec sway > "$HOME/.gui.log" 2>&1
#export XDG_CURRENT_DESKTOP=Unity && exec startx > "$GUILOG" 2>&1
export XDG_CURRENT_DESKTOP=sway && exec sway > "$GUILOG" 2>&1
fi
# vim: ft=zsh