old-dotfiles/.fehbg

5 lines
168 B
Plaintext
Raw Normal View History

2023-04-18 10:01:48 +02:00
#!/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"