From ea79ffef6e18f74fd995d665a46b84abc5299c52 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 20 Jun 2024 01:04:36 +0800 Subject: updates --- wallpapertrans.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'wallpapertrans.sh') diff --git a/wallpapertrans.sh b/wallpapertrans.sh index a5b0b65..c71a3cf 100755 --- a/wallpapertrans.sh +++ b/wallpapertrans.sh @@ -3,6 +3,7 @@ feh --bg-fill $XDG_CACHE_HOME/wallpaper/old.jpg DISPLAY=:0 +XDG_PICTURES_DIR="${XDG_PICTURES_DIR:-$HOME/Pictures}" WALLPAPERS="$XDG_PICTURES_DIR/wallpapers/" wallpappath=$(find "$WALLPAPERS" | shuf -n 1) cp "$wallpappath" $XDG_CACHE_HOME/wallpaper/old.jpg -- cgit v1.2.3