script-linux/randwallpaper

9 lines
157 B
Bash
Executable File

#!/bin/bash
wallpath=$OPT_PATH/img/wallpaper
img=$(ls $wallpath | shuf -n 1)
cp $wallpath/$img $OPT_PATH/img/wallpaper.curr
feh --bg-scale $wallpath/$img