Copied over old .bashrc and .bash_aliases because they didn't need really need changing Slightly changed .bash_profile for starting graphical setups Added simple starship.toml setup Updated install script to copy/pull new files
35 lines
614 B
Bash
35 lines
614 B
Bash
# Source .bashrc
|
|
[[ -f "$HOME/.bashrc" ]] && . "$HOME/.bashrc"
|
|
|
|
case $HOSTNAME in
|
|
# More can be added here in the future
|
|
kanto|tokyo)
|
|
HEADLESS=0
|
|
;;
|
|
*)
|
|
HEADLESS=1
|
|
;;
|
|
esac
|
|
|
|
if [[ $HEADLESS -eq 0 && -z $WAYLAND_DISPLAY && $XDG_VTNR -eq 1 ]];
|
|
then
|
|
export GTK_THEME=Adwaita:dark
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
export QT_QPA_PLATFORM=wayland-egl
|
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
export SDL_VIDEODRIVER=wayland
|
|
|
|
case $HOSTNAME in
|
|
kanto)
|
|
export WLR_NO_HARDWARE_CURSORS=1
|
|
|
|
# Desktop with nvidia gpu
|
|
exec sway --unsupported-gpu
|
|
;;
|
|
tokyo)
|
|
# Laptop with intel gpu
|
|
exec sway
|
|
;;
|
|
esac
|
|
fi
|