dont include the directory

This commit is contained in:
2025-09-16 12:45:51 -05:00
parent 8e519e9ad1
commit 214c833821

View File

@@ -29,7 +29,7 @@
mkdir /tmp/nathan
fi
img=''$(realpath "''${1:-$(find ~/Pictures/Wallpaper | rofi -dmenu)}")
img=''$(realpath "''${1:-$(find ~/Pictures/Wallpaper/* | rofi -dmenu)}")
n=''$(basename "''$img")
ext="''${n''\#''\#*.}"