dotfiles/feh/.fehbg

5 lines
168 B
Plaintext
Raw Normal View History

#!/bin/sh
wallpaper=$(find $HOME/Pictures/wallpaper -type f | awk '!/.git/' | shuf -n 1)
echo $wallpaper > /tmp/currwallpaper.txt
feh --no-fehbg --bg-fill "$wallpaper"