From 336b217d2c9db1118700a7dd19cd952c329aa8d1 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 10 May 2025 22:07:56 -0500 Subject: point $XDG_RUNTIME_DIR to /tmp --- dotfiles/system/.profile | 12 ++---------- 1 file 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 -- cgit v1.2.3