diff --git a/.bash_profile b/.bash_profile index 5d8256b..dc8c05f 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,13 +1,3 @@ -# ~/.profile: executed by the command interpreter for login shells. -# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login -# exists. -# see /usr/share/doc/bash/examples/startup-files for examples. -# the files are located in the bash-doc package. - -# the default umask is set in /etc/profile; for setting the umask -# for ssh logins, install and configure the libpam-umask package. -#umask 022 - # if running bash if [ -n "$BASH_VERSION" ] && [ -f "$HOME/.bashrc" ]; then ."$HOME/.bashrc" @@ -19,6 +9,6 @@ if [ -d "$HOME/bin" ] ; then fi # start gui -if [ -z $DISPLAY ] && [ $XDG_VTNR -eq 1 ]; then +if [ -z $DISPLAY ]; then exec startx fi