.dotfiles/bash/bash_login

36 lines
914 B
Bash
Raw Normal View History

# vim: ft=sh
2022-04-16 19:54:07 +00:00
2022-06-07 12:06:58 +00:00
systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
2022-04-16 19:54:07 +00:00
# Load aliases
source "${HOME}/.dotfiles/bash/bash_aliases"
2022-04-16 19:54:07 +00:00
2022-11-04 22:35:26 +00:00
export LANG="C"
export LC_ALL="C"
export LC_CTYPE="C"
export LANGUAGE="en_US:en"
2022-04-16 19:54:07 +00:00
# Dirty config dir
export XDG_DATA_HOME="${HOME}/.config"
# GUI themes
2023-08-11 04:18:20 +00:00
export GTK_THEME="Gruvbox"
export ICON_THEME="Gruvbox"
export CURSOR_THEME="FlatbedCursors-White"
2022-04-16 19:54:07 +00:00
export PROFILE_NAME="Oled"
export QT_QPA_PLATFORMTHEME="qt5ct"
export QT_QPA_PLATFORM="wayland-egl;wayland;xcb"
export GDK_BACKEND="wayland"
2022-04-16 19:54:07 +00:00
export DCONF=".config/dconf/user"
# Suggest session start command if last session is not known
if [ ! -e "${HOME}/.spool/last_login_gui" ]; then
2022-04-16 19:54:07 +00:00
echo "Use 'startsway' or 'starti3' to launch a GUI"
fi
2022-11-05 01:51:39 +00:00
2022-12-13 03:44:24 +00:00
if [ -f "/run/.containerenv" ]; then
source "$HOME/.dotfiles/bash/bash_login.distrobox"
2022-11-05 01:51:39 +00:00
else
source "$HOME/.dotfiles/bash/bash_login.host"
2022-11-05 01:51:39 +00:00
fi