aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-06-20 21:35:35 +0200
committerMateja <mail@matejamaric.com>2021-06-20 21:35:35 +0200
commit740c3cc87b71c9f7a68f83f5c6a1434600f04220 (patch)
tree16291ff7c886eb7f423feb2b121e2f24b841544f
parentec69fe2a8df6f9128c80efc35b6a69b69467b475 (diff)
downloaddotfiles-740c3cc87b71c9f7a68f83f5c6a1434600f04220.tar.gz
dotfiles-740c3cc87b71c9f7a68f83f5c6a1434600f04220.zip
Add XDG Paths and ZDOTDIR.
-rw-r--r--.bash_profile4
-rwxr-xr-x.xprofile4
2 files changed, 8 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
index c03605f..71570c6 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -1,6 +1,10 @@
[[ -f ~/.bashrc ]] && . ~/.bashrc
eval $(keychain --eval --agents gpg,ssh --quiet)
+export XDG_CONFIG_HOME=$HOME/.config
+export XDG_CACHE_HOME=$HOME/.cache
+export XDG_DATA_HOME=$HOME/.local/share
+export ZDOTDIR=$HOME/.config/zsh
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
startx
diff --git a/.xprofile b/.xprofile
index 4d9742a..ca06047 100755
--- a/.xprofile
+++ b/.xprofile
@@ -1,6 +1,10 @@
#!/bin/sh
eval $(keychain --clear --eval --agents gpg,ssh --quiet)
+export XDG_CONFIG_HOME=$HOME/.config
+export XDG_CACHE_HOME=$HOME/.cache
+export XDG_DATA_HOME=$HOME/.local/share
+export ZDOTDIR=$HOME/.config/zsh
xset -b
setxkbmap -layout us,rs,rs -variant ,alternatequotes,latin -option grp:alt_shift_toggle,caps:swapescape