diff options
| -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 |
