commit a1d6c326fb09b7ed2ca9f6f3a4c88b3c772dfb1a
parent bb526b121c731f8e73e06cc57406012a0bc1411b
Author: jacob@nzxt <jacobouno@protonmail.com>
Date: Sun, 1 Mar 2020 17:04:38 -0800
switched or to and statement on ssh and Xorg detection
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/profile/.profile b/profile/.profile
@@ -36,9 +36,9 @@ export NOTES="$DATAHOME/notes"
export STICKY="$DATAHOME/sticky"
-if [ "$SSH" -ne 1 ] | [ "$Xorg" -eq 1 ]; then
+if [ "$SSH" -ne 1 ] && [ "$Xorg" -eq 1 ]; then
xrdb -load ~/.Xresources
-elif [ "$Xorg" -ne 1 ] | [ "$SSH" -ne 1 ]; then
+elif [ "$Xorg" -ne 1 ] && [ "$SSH" -ne 1 ]; then
setfont /usr/share/kbd/consolefonts/Lat2-Terminus16.psfu.gz
#setfont /usr/share/kbd/consolefonts/972.cp.gz -16 # handwritten look
setterm -blength 0