Merge branch 'master' of gitee.com:klesh/dotfiles
This commit is contained in:
commit
803bf26e24
|
@ -121,9 +121,15 @@ restart() {
|
|||
$FP loop &
|
||||
}
|
||||
|
||||
if [ "$1" = "loop" ]; then
|
||||
start
|
||||
else
|
||||
restart
|
||||
fi
|
||||
case "$1" in
|
||||
loop)
|
||||
start
|
||||
;;
|
||||
dryrun)
|
||||
statusbar
|
||||
;;
|
||||
*)
|
||||
restart
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ cat <<'EOT' > ~/.profile
|
|||
export PATH=$HOME/.local/bin
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user