summaryrefslogtreecommitdiff
path: root/home/xyz/.profile
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-02-23 22:08:07 -0800
committerXiao Pan <gky44px1999@gmail.com>2023-02-23 22:08:07 -0800
commitda5d12da619b7ef845030886f31ec813da00650a (patch)
treeb1da1d41327eb00245d9d5fedded87b4c4df8cee /home/xyz/.profile
parent2c4d292a9fdaf8c318f0316edb057621debc2db7 (diff)
more change for pinephone
Diffstat (limited to 'home/xyz/.profile')
-rw-r--r--home/xyz/.profile6
1 files changed, 0 insertions, 6 deletions
diff --git a/home/xyz/.profile b/home/xyz/.profile
index f6dd5e8c..7cb95096 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -89,9 +89,3 @@ playerctld daemon
# https://github.com/koalaman/shellcheck/wiki/SC3046
#[[ -f ~/.bashrc ]] && . ~/.bashrc
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
-
-# startx when login, should be put after environmental variables for .xinitrc to use
-# use `[ "$XDG_VTNR" ]` to avoid "-bash: [: : integer expression expected" warning/error message, when `sudo su - xyz` or ssh into a remote server, not sure if best practice or not
-if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
- exec startx
-fi