# # ~/.bash_profile # [[ -f ~/.bashrc ]] && . ~/.bashrc # custom scripts and programs PATH="$HOME/.local/bin:$PATH" PATH="$HOME/.config/scripts/bin:$PATH" if grep "arch-laptop" /etc/hostname &> /dev/null ; then export IS_LAPTOP=1 fi # for java applicatons export _JAVA_AWT_WM_NONREPARENTING=1 if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then if [[ ! -z "$IS_LAPTOP" ]]; then exec dbus-run-session sway else exec start-sway.sh fi fi