From 6759e561c81b8e06b9b6351de5ae9dc3ee109852 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 9 Apr 2020 16:56:47 -0400 Subject: [PATCH] xdg material moved to zprofile --- .config/lf/lfrc | 2 +- .config/user-dirs.dirs | 2 -- .profile | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 616c5ab..ea8a9ec 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -2,7 +2,7 @@ # Basic vars set shell sh -set previewer ${XDG_CONFIG_HOME:-$HOME/.config}/lf/scope +set previewer ~/.config/lf/scope set shellopts '-eu' set ifs "\n" set scrolloff 10 diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs index f25c63a..5a28707 100644 --- a/.config/user-dirs.dirs +++ b/.config/user-dirs.dirs @@ -1,3 +1 @@ XDG_DESKTOP_DIR="$HOME/" -XDG_CONFIG_HOME="$HOME/.config" -XDG_DATA_HOME="$HOME/.local/share" diff --git a/.profile b/.profile index 0a5d5ae..7c1f943 100644 --- a/.profile +++ b/.profile @@ -18,6 +18,8 @@ export STATUSBAR="${LARBSWM}blocks" eval "$(sed 's/^[^#].*/export &/g;t;d' ~/.config/user-dirs.dirs)" # ~/ Clean-up: +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.local/share" #export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs. export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config" export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"