diff options
| author | Aleks Ozolins <aleks@aleksozolins.com> | 2020-04-05 09:19:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-05 09:19:53 -0400 |
| commit | 043c6253537a20875adbfd274c1c3a3377803095 (patch) | |
| tree | 54371c336f33e17a3d758b3d439221354b4c9d9e /.profile | |
| parent | 26d8e9e006260611cd1daa556b42194612be69f5 (diff) | |
| download | eibhear-043c6253537a20875adbfd274c1c3a3377803095.tar.gz eibhear-043c6253537a20875adbfd274c1c3a3377803095.tar.zst eibhear-043c6253537a20875adbfd274c1c3a3377803095.zip | |
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.
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,9 @@ export BROWSER="brave" export READER="zathura" 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: #export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs. export NOTMUCH_CONFIG="$HOME/.config/notmuch-config" |
