fix: sway config
This commit is contained in:
parent
d4811e4597
commit
4d2e4fff14
13 changed files with 38 additions and 357 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue