49 lines
1.3 KiB
Bash

# /etc/skel/.bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
####TEST LINES FOR SWAY-WM########
#if test -z "${XDG_RUNTIME_DIR}"; then
# export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
# if ! test -d "${XDG_RUNTIME_DIR}"; then
# mkdir "${XDG_RUNTIME_DIR}"
# chmod 0700 "${XDG_RUNTIME_DIR}"
# fi
#fi
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
#Source the system profile
#source /etc/profile
# Put your fun stuff here.
PS1="\[\033[29m\]\u@\[\033[01;46m\]\w>\[\033[00m"
#Custom Aliases
for f in ~/.config/shellconfig/*; do source "$f"; done
#Custom Variables
export company='NewCompany'
neofetch
PATH="$PATH:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/:/opt/ghidra"
DISPLAYTMANAGER="lightdm"
sleep 2
#Start X automatically in in TTY1
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
startx
fi