From 740c3cc87b71c9f7a68f83f5c6a1434600f04220 Mon Sep 17 00:00:00 2001
From: Mateja <mail@matejamaric.com>
Date: Sun, 20 Jun 2021 21:35:35 +0200
Subject: Add XDG Paths and ZDOTDIR.

---
 .bash_profile | 4 ++++
 .xprofile     | 4 ++++
 2 files changed, 8 insertions(+)

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
-- 
cgit v1.2.3