Move static exports to dedicated file
This commit is contained in:
parent
99ef09bc55
commit
b7c91d6522
24
bash/bashrc
24
bash/bashrc
|
@ -9,19 +9,6 @@ function last_command {
|
||||||
# Configure PATH
|
# Configure PATH
|
||||||
source "$HOME/.dotfiles/bash/path"
|
source "$HOME/.dotfiles/bash/path"
|
||||||
|
|
||||||
# GUI themes
|
|
||||||
export GTK_THEME="Gruvbox"
|
|
||||||
export ICON_THEME="Gruvbox"
|
|
||||||
export CURSOR_THEME="FlatbedCursors-White"
|
|
||||||
export PROFILE_NAME="Oled"
|
|
||||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
|
||||||
export QT_QPA_PLATFORM="wayland-egl;wayland;xcb"
|
|
||||||
export GDK_BACKEND="wayland"
|
|
||||||
export DCONF=".config/dconf/user"
|
|
||||||
|
|
||||||
# Setup editor
|
|
||||||
export EDITOR="nvim"
|
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
case $- in
|
case $- in
|
||||||
*i*) ;;
|
*i*) ;;
|
||||||
|
@ -76,17 +63,6 @@ if [ -f ${HOME}/.dotfiles/bash/bash_aliases ]; then
|
||||||
. "${HOME}/.dotfiles/bash/bash_aliases"
|
. "${HOME}/.dotfiles/bash/bash_aliases"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Android configs
|
|
||||||
JDK_HOME=/etc/java
|
|
||||||
STUDIO_JDK=/usr/lib/jvm/jre-openjdk
|
|
||||||
|
|
||||||
export LANG="C.UTF-8"
|
|
||||||
export LC_ALL="C.UTF-8"
|
|
||||||
export LC_CTYPE="C.UTF-8"
|
|
||||||
export LANGUAGE="en_US:en"
|
|
||||||
|
|
||||||
# terminal type
|
|
||||||
export TERM="xterm"
|
|
||||||
|
|
||||||
# Set initial title
|
# Set initial title
|
||||||
echo -e -n "\033]2;Welcome to Bash\007"
|
echo -e -n "\033]2;Welcome to Bash\007"
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Static SSH agent
|
||||||
|
export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
|
||||||
|
|
||||||
|
# GUI themes
|
||||||
|
export GTK_THEME="Gruvbox"
|
||||||
|
export ICON_THEME="Gruvbox"
|
||||||
|
export CURSOR_THEME="FlatbedCursors-White"
|
||||||
|
export PROFILE_NAME="Oled"
|
||||||
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||||
|
export QT_QPA_PLATFORM="wayland-egl;wayland;xcb"
|
||||||
|
export GDK_BACKEND="wayland"
|
||||||
|
export DCONF=".config/dconf/user"
|
||||||
|
|
||||||
|
# Setup editor
|
||||||
|
export EDITOR="nvim"
|
||||||
|
|
||||||
|
# Android configs
|
||||||
|
export JDK_HOME=/etc/java
|
||||||
|
export STUDIO_JDK=/usr/lib/jvm/jre-openjdk
|
||||||
|
|
||||||
|
# Locales
|
||||||
|
export LANG="C.UTF-8"
|
||||||
|
export LC_ALL="C.UTF-8"
|
||||||
|
export LC_CTYPE="C.UTF-8"
|
||||||
|
export LANGUAGE="en_US:en"
|
||||||
|
|
||||||
|
# Terminal type
|
||||||
|
export TERM="alacritty"
|
||||||
|
# This is an attempt to get tofi to run `TERMINAL=true` .desktop applications in alacritty
|
||||||
|
export TERMINAL="alacritty --config-file ${HOME}/.dotfiles/alacritty/host.toml -e"
|
||||||
|
|
Loading…
Reference in New Issue