Adding really dumb if statement for pc/laptop

This commit is contained in:
Siina Mashek 2022-08-11 14:16:24 +03:00
parent c048f77717
commit bc43c865e4

View File

@ -5,7 +5,13 @@ export PATH="$HOME/.local/bin:$PATH"
export VIMINIT="source $HOME/.config/vim/vimrc"
# Let's set up our personal routes
export SCREENSHOT_DIR="/mnt/storage/screenshots"
hostname=$(hostname)
if [ "$hostname" = apsalar ]; then
dir="/mnt/storage/screenshots"
elif [ "$hostname" = hetan ]; then
dir="$HOME/Screenshots"
fi
export SCREENSHOT_DIR="$dir"
# Let's get some private environment vars
source $HOME/.profile.private