summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-31 17:58:10 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-31 17:58:10 +0100
commitb79dcb8585e77535160784fd32243b023e12873f (patch)
tree493b2ad438b6ddd13b599601b5cc90322f4458a4 /.bash_profile
parentcb7464082fc971d9f7ff04dc3a75cd5597de06ac (diff)
Cleaned home dir, cleaned xinit, ls -> exa, cvim alias
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile16
1 files changed, 15 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile
index b82ed01..40853ae 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -4,4 +4,18 @@
[[ -f ~/.bashrc ]] && . ~/.bashrc
-[[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx -- vt1
+export XDG_CONFIG_HOME=$HOME/.config
+export XDG_CACHE_HOME=$HOME/.cache
+export XDG_DATA_HOME=$HOME/.local/share
+export XDG_STATE_HOME=$HOME/.local/state
+export XDG_DATA_DIRS="/usr/local/share:/usr/share"
+export XDG_CONFIG_DIRS="/etc/xdg"
+
+export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
+export HISTFILE="$XDG_STATE_HOME"/bash/history
+export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
+export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
+export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc
+export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
+
+[[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx "$XDG_CONFIG_HOME/X11/xinitrc" -- vt1