2023-02-24 01:24:59 +00:00
|
|
|
# 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
|
2023-02-24 01:24:59 +00:00
|
|
|
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"
|
2022-11-04 15:12:23 +00:00
|
|
|
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
|
2024-03-08 21:23:54 +00:00
|
|
|
if [ ! -e "${HOME}/.local/state/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
|
2023-02-24 01:24:59 +00:00
|
|
|
source "$HOME/.dotfiles/bash/bash_login.distrobox"
|
2022-11-05 01:51:39 +00:00
|
|
|
else
|
2023-02-24 01:24:59 +00:00
|
|
|
source "$HOME/.dotfiles/bash/bash_login.host"
|
2022-11-05 01:51:39 +00:00
|
|
|
fi
|