script-linux/randwallpaper

13 lines
242 B
Plaintext
Raw Normal View History

2024-03-06 08:20:09 +01:00
#!/bin/bash
2024-03-06 09:35:26 +01:00
source /etc/profile
export DISPLAY=:0
2024-11-06 13:48:08 +01:00
#wallpath=$OPT_PATH/img/wallpaper
wallpath=$OPT_PATH/img/meme/penger/wallpaper
2024-03-06 08:20:09 +01:00
img=$(ls $wallpath | shuf -n 1)
cp $wallpath/$img $OPT_PATH/img/wallpaper.curr
feh --bg-scale $wallpath/$img