Update .profile to export XDG base dirs (#526)
Not every program will read them from ~/.config/user-dirs.dirs so might as well export them yourself... Also can now use them elsewhere.
This commit is contained in:
parent
26d8e9e006
commit
043c625353
1 changed files with 3 additions and 0 deletions
3
.profile
3
.profile
|
@ -14,6 +14,9 @@ export BROWSER="brave"
|
||||||
export READER="zathura"
|
export READER="zathura"
|
||||||
export STATUSBAR="${LARBSWM}blocks"
|
export STATUSBAR="${LARBSWM}blocks"
|
||||||
|
|
||||||
|
# Export XDG environmental variables from '~/.config/user-dirs.dirs'
|
||||||
|
eval "$(sed 's/^[^#].*/export &/g;t;d' ~/.config/user-dirs.dirs)"
|
||||||
|
|
||||||
# ~/ Clean-up:
|
# ~/ Clean-up:
|
||||||
#export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs.
|
#export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs.
|
||||||
export NOTMUCH_CONFIG="$HOME/.config/notmuch-config"
|
export NOTMUCH_CONFIG="$HOME/.config/notmuch-config"
|
||||||
|
|
Loading…
Reference in a new issue