Make lein and m2 follow XDG base dir spec

This commit is contained in:
Peter Vacho 2025-09-22 09:37:53 +02:00
parent 19b62c6d0e
commit fcf31d2b7a
No known key found for this signature in database
GPG key ID: 00ACA0D6AF712EC9
3 changed files with 6 additions and 0 deletions

View file

@ -104,6 +104,7 @@ export OMNISHARPHOME="$XDG_CONFIG_HOME"/omnisharp
export PSQL_HISTORY="$XDG_STATE_HOME/psql_history"
export ANSIBLE_HOME="$XDG_DATA_HOME"/ansible
export MINIKUBE_HOME="$XDG_DATA_HOME/minikube"
export LEIN_HOME="$XDG_DATA_HOME"/lein
# Theming
export GTK_THEME="Tokyonight-Dark"

View file

@ -0,0 +1,4 @@
{:user {:local-repo #=(eval (str (System/getenv "XDG_CACHE_HOME") "/m2"))
:repositories {"local" {:url #=(eval (str "file://" (System/getenv "XDG_DATA_HOME") "/m2"))
:releases {:checksum :ignore}}}
}}

View file

@ -24,6 +24,7 @@ mkdir -p ~/.cache/nv
cp -ra home/.config/wget ~/.config
mkdir -p ~/.config/gtk-2.0
touch ~/.config/gtk-2.0/gtkrc
cp -ra home/.local/share/lein ~/.local/share
# DE configs (core apps/tools that make up the base graphical experience)
cp -ra home/.config/xdg-desktop-portal ~/.config