fixed bugs
This commit is contained in:
parent
2fdb3e197e
commit
38b1a10e9f
8
LDM-Wallpaper.sh
Executable file
8
LDM-Wallpaper.sh
Executable 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;
|
Loading…
Reference in a new issue