.
This commit is contained in:
parent
7b29e1df22
commit
d8f852ab18
6 changed files with 22 additions and 13 deletions
|
|
@ -6,13 +6,9 @@ export XBPS_DISTDIR="$HOME/void-packages"
|
|||
|
||||
export EDITOR=/usr/bin/vis
|
||||
|
||||
exists() {
|
||||
which "$1" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
grep 'l' <<< "$-" && \
|
||||
test "$(tty)" = '/dev/tty1' && \
|
||||
cd &&
|
||||
echo 'Press return to start gui' &&
|
||||
read &&
|
||||
exec ~/.winit
|
||||
if grep -q l <<< "$-" && test "$(tty)" = '/dev/tty1'; then
|
||||
rm -f "$HOME"/.config/service-env/* 2>/dev/null
|
||||
cd
|
||||
echo 'Press return to start gui'
|
||||
read && exec dbus-run-session "$HOME/.winit"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue