Choose random wallpaper from /etc/wallpapers

This commit is contained in:
maride 2017-09-02 17:23:11 +02:00
parent 5c6d1322e0
commit e61c0f7df8

View File

@ -12,7 +12,7 @@ fi
echo "~> Creating .xinitrc"
echo "xcompmgr -c &" > $path/.xinitrc
echo "feh --bg-fill ~/background.jpg" >> $path/.xinitrc
echo "feh --bg-fill /etc/wallpaper/\$\(ls /etc/wallpaper/ | shuf -n 1\)" >> $path/.xinitrc
echo "exec i3" >> $path/.xinitrc
amf_return=0