Merge branch 'master' of gitee.com:klesh/dotfiles

This commit is contained in:
Klesh Wong 2020-11-03 11:53:59 +08:00
commit 803bf26e24
2 changed files with 12 additions and 6 deletions

View File

@ -121,9 +121,15 @@ restart() {
$FP loop & $FP loop &
} }
if [ "$1" = "loop" ]; then case "$1" in
loop)
start start
else ;;
dryrun)
statusbar
;;
*)
restart restart
fi ;;
esac

View File

@ -81,7 +81,7 @@ cat <<'EOT' > ~/.profile
export PATH=$HOME/.local/bin export PATH=$HOME/.local/bin
# auto startx # auto startx
[ -z "$DISPLAY" -a -n "$XDG_VTNR" -a "$XDG_VTNR" -eq "1" ] && exec startx [ -z "$DISPLAY" -a -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq "1" ] && exec startx
EOT EOT