aboutsummaryrefslogtreecommitdiff
path: root/xwallpaper-random-notify
blob: d0d1fbe1fcfd5675e1ac2797e21188ef4c92ecc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# Set a random background from the wallpapers folder and notify about it
# Requires: xwallpaper (or feh), notify-send (optional)

folder=~/Pictures/wallpapers
pic=$(ls $folder | sort -R | head -1)

# Alternative: use feh
#feh --bg-fill --no-fehbg $folder/$pic
xwallpaper --zoom $folder/$pic

notify-send "Background of the day" $pic

Generated with cgit - Back to sebastiano.tronto.net