1
0

Added bash config

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
This commit is contained in:
2025-09-25 18:08:46 +01:00
parent ffcf0f02c2
commit 42189f6687
5 changed files with 133 additions and 1 deletions

34
bash_profile Normal file
View File

@@ -0,0 +1,34 @@
# 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