changed ~/ with |path|
This commit is contained in:
parent
f1745268ee
commit
9d9f3a7c4f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue