fixed bugs

This commit is contained in:
array-in-a-matrix 2021-10-31 14:57:23 -04:00
parent 2fdb3e197e
commit 38b1a10e9f

8
LDM-Wallpaper.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
image=$(find -L ~/Pictures/Wallpapers/ -type f | shuf -n1);
sudo cp "$image" /usr/share/wallpapers/lightdm/;
cd /usr/share/wallpapers/lightdm;
filename=${image##*/};
echo $filename;
sleep 3;
sudo mv -f "$filename" wallpaper;