wallpaper fix

This commit is contained in:
Daniel Napora 2024-08-13 22:54:48 +02:00
parent fe51c190aa
commit ebb6a98c45

View File

@ -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////_}