dotfiles/home/bash_profile

19 lines
282 B
Bash
Raw Normal View History

2023-09-01 10:43:49 +02:00
# Source my profile
profile="${HOME}/.profile"
[[ -f $profile ]] && . "$profile"
unset profile
# Source my bashrc
bashrc="${HOME}/.bashrc"
[[ -f $bashrc ]] && . "$bashrc"
unset bashrc
# Fastfetch
fastfetch
# Start Sway if on tty1
if [ "$(tty)" = /dev/tty1 ]; then
exec sway
fi