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:
34
bash_profile
Normal file
34
bash_profile
Normal 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
|
||||
Reference in New Issue
Block a user