diff --git a/LDM-Wallpaper.sh b/LDM-Wallpaper.sh index 2f2a630..49592ab 100755 --- a/LDM-Wallpaper.sh +++ b/LDM-Wallpaper.sh @@ -1,8 +1,7 @@ #!/bin/sh -image=$(find -L ~/Pictures/Wallpapers/ -type f | shuf -n1); -sudo cp "$image" /usr/share/wallpapers/lightdm/; +image=$(find -L /home/linux/Pictures/Wallpapers/ -type f | shuf -n1); +cp "$image" /usr/share/wallpapers/lightdm/; cd /usr/share/wallpapers/lightdm; filename=${image##*/}; echo $filename; -sleep 3; -sudo mv -f "$filename" wallpaper; +mv -f "$filename" wallpaper;