7 lines
211 B
Bash
Executable file
7 lines
211 B
Bash
Executable file
#!/bin/sh
|
|
image=$(find -L ~/Pictures/Wallpapers/ -type f | shuf -n1)
|
|
cp "$image" /usr/share/wallpapers/lightdm/
|
|
cd /usr/share/wallpapers/lightdm
|
|
filename=${image##*/}; echo $filename
|
|
mv -f "$filename" wallpaper
|