dotfiles/home/bash_profile

17 lines
193 B
Bash
Raw Permalink Normal View History

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