From ebb6a98c45e6f5aeb8baafd1cbd44c6ebd8e146e Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Tue, 13 Aug 2024 22:54:48 +0200 Subject: [PATCH] wallpaper fix --- usr/bin/jgwallpaperchanger | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/jgwallpaperchanger b/usr/bin/jgwallpaperchanger index 0220f31..5f14c21 100755 --- a/usr/bin/jgwallpaperchanger +++ b/usr/bin/jgwallpaperchanger @@ -238,7 +238,7 @@ menu_margin_x=${submenu_spacing:-0} JGWIDTH=$((jgtools_padding + 270 + jgtools_padding)) MENU_PADDING_TOP=$((jgtools_padding + 150)) #WALLPAPER - read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2) + read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2) THUMBDIR="$HOME/.cache/colorizer/thumbs" mkdir -p ${THUMBDIR} NAME=${WALLPATH////_}