diff options
| author | Craig Jennings <c@cjennings.net> | 2025-05-10 22:07:56 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-05-10 22:07:56 -0500 |
| commit | 336b217d2c9db1118700a7dd19cd952c329aa8d1 (patch) | |
| tree | ee540ffc7025b35f66be5298880b9f38221b6029 /dotfiles/system | |
| parent | 22cf4b0e8b95b6bdc3540717077faaeca57bd7cf (diff) | |
point $XDG_RUNTIME_DIR to /tmp
Diffstat (limited to 'dotfiles/system')
| -rw-r--r-- | dotfiles/system/.profile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/dotfiles/system/.profile b/dotfiles/system/.profile index 1f93044..e803870 100644 --- a/dotfiles/system/.profile +++ b/dotfiles/system/.profile @@ -24,19 +24,11 @@ export SUDO_EDITOR="$(which vi)" export BROWSER="$(which firefox)" # XDG -# export XDG_RUNTIME_DIR=/tmp +export XDG_RUNTIME_DIR=/tmp +export XDG_DATA_DIRS="$XDG_DATA_DIRS:/usr/local/share:/usr/share" export XDG_CONFIG_HOME="$HOME/.config/" export XDG_SESSION_TYPE=wayland export XDG_CURRENT_DESKTOP=sway -export XDG_DATA_DIRS="$XDG_DATA_DIRS:/usr/share" - # setting up XDG_RUNTIME_DIR is a requirement for sway/wayland -if [ -z "$XDG_RUNTIME_DIR" ]; then - export XDG_RUNTIME_DIR="$HOME/.local/xdg/runtime" - if [ ! -d "$XDG_RUNTIME_DIR" ]; then - mkdir -p "$XDG_RUNTIME_DIR" - chmod 0700 "$XDG_RUNTIME_DIR" - fi -fi # misc export STOW_DIR=~/code/bsdsetup/dotfiles |
