mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43:10 -05:00
Starting to clean up litter in $HOME
This commit is contained in:
parent
0a34530107
commit
124223b2ed
6 changed files with 27 additions and 4 deletions
4
dot_config/npm/npmrc
Normal file
4
dot_config/npm/npmrc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
prefix=${XDG_DATA_HOME}/npm
|
||||||
|
cache=${XDG_CACHE_HOME}/npm
|
||||||
|
tmp=${XDG_RUNTIME_DIR}/npm
|
||||||
|
init-module=${XDG_CONFIG_HOME}/npm/init/npm-init.js
|
|
@ -10,10 +10,6 @@ export PATH="$HOME/.local/bin:$PATH"
|
||||||
# make Java behave when not using a DE
|
# make Java behave when not using a DE
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
# move $GOPATH to .local
|
|
||||||
export GOPATH="$HOME/.local/opt/go"
|
|
||||||
export PATH="$HOME/.local/opt/go/bin:$PATH"
|
|
||||||
|
|
||||||
# xsecurelock settings
|
# xsecurelock settings
|
||||||
export XSECURELOCK_AUTH=auth_x11
|
export XSECURELOCK_AUTH=auth_x11
|
||||||
export XSECURELOCK_AUTHPROTO=authproto_pam
|
export XSECURELOCK_AUTHPROTO=authproto_pam
|
||||||
|
@ -31,3 +27,26 @@ export GDK_SCALE=2 GDK_DPI_SCALE=0.50 Gajim
|
||||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 Ristretto
|
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 Ristretto
|
||||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 ghex
|
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 ghex
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
## No littering in $HOME!
|
||||||
|
|
||||||
|
# bash
|
||||||
|
export HISTFILE="${XDG_STATE_HOME}"/bash_history
|
||||||
|
|
||||||
|
# cargo
|
||||||
|
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||||
|
|
||||||
|
# go
|
||||||
|
export GOPATH="$XDG_DATA_HOME"/go
|
||||||
|
export GOMODCACHE="$XDG_CACHE_HOME"/go/mod
|
||||||
|
|
||||||
|
# GTK2
|
||||||
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||||
|
|
||||||
|
# Node
|
||||||
|
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
|
||||||
|
|
||||||
|
# Xorg
|
||||||
|
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
|
||||||
|
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||||
|
xrdb -load "$XDG_CONFIG_HOME/X11/Xresources"
|
||||||
|
|
Loading…
Reference in a new issue