mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 10:39:41 +00:00
Merge branch 'arch' into gentoo
This commit is contained in:
commit
5aa2f23146
|
@ -56,9 +56,7 @@ export PIPENV_VENV_IN_PROJECT=1 # Force pipenv to create new environments within
|
|||
#export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
|
||||
|
||||
# Start graphical session, if startx is aviable
|
||||
if [ "$(tty)" = "/dev/tty1" ]; then
|
||||
if command -v startx > /dev/null; then
|
||||
if [ "$(tty)" = "/dev/tty1" ] && [ -x "$(command -v startx)"]; then
|
||||
! pidof -s Xorg > /dev/null 2>&1 && exec startx "$XINITRC"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue