blob: 6ab3d566195b4d8bd632aca0f8bcdfac03fc6d0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# Set a random background from the wallpapers folder and notify about it
# Requires: xwallpaper (or feh), notify-send or similar (optional)
#notify=notify-send
notify="notify push"
folder=~/pictures/wallpapers
pic=$(ls $folder | sort -R | head -1)
# Alternative: use feh
#feh --bg-fill --no-fehbg $folder/$pic
xwallpaper --zoom $folder/$pic
# Uncomment to notify
#$notify "Background of the day" $pic
|