From 6ef4a94508e49a7b20ce35ce29da4a00b5df0a17 Mon Sep 17 00:00:00 2001 From: Niklas Date: Thu, 18 Jun 2020 14:30:19 +0200 Subject: [PATCH] cant use xdg in script not run from zsh --- .local/share/scripts/set-bg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/share/scripts/set-bg.sh b/.local/share/scripts/set-bg.sh index 8e232c5..5b54fd3 100755 --- a/.local/share/scripts/set-bg.sh +++ b/.local/share/scripts/set-bg.sh @@ -6,7 +6,7 @@ set -e [ -z "$@" ] && exit 0 -LAST_BG_LOCATION="$XDG_CACHE_HOME/.last-bg" +LAST_BG_LOCATION="$HOME/.cache/.last-bg" feh --bg-scale $1