aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/xdg/.config/environment.d/10-xdg_base_dir.conf
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-03-28 16:07:00 -0500
committerToby Vincent <tobyv13@gmail.com>2023-03-28 16:07:00 -0500
commit4309d46cd57cfb7a63a29403d8153ced39a32443 (patch)
tree12ef98a0d885afaa6ab4979b8b98fce3eb9d90ee /xdg/.config/environment.d/10-xdg_base_dir.conf
parent4d93300cd6bb36a69316ddd469da8a6be52fef6f (diff)
feat(xdg): move xdg related variables into environment.d
Diffstat (limited to 'xdg/.config/environment.d/10-xdg_base_dir.conf')
-rw-r--r--xdg/.config/environment.d/10-xdg_base_dir.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/xdg/.config/environment.d/10-xdg_base_dir.conf b/xdg/.config/environment.d/10-xdg_base_dir.conf
new file mode 100644
index 0000000..a687b55
--- /dev/null
+++ b/xdg/.config/environment.d/10-xdg_base_dir.conf
@@ -0,0 +1,6 @@
+XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
+XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache}
+XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share}
+XDG_STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
+XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}
+XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS:-${XDG_CONFIG_DIRS:-/etc/xdg}}