From da5d12da619b7ef845030886f31ec813da00650a Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Thu, 23 Feb 2023 22:08:07 -0800 Subject: more change for pinephone --- home/xyz/.profile | 6 ------ 1 file changed, 6 deletions(-) (limited to 'home/xyz/.profile') 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 -- cgit v1.2.3-70-g09d2