Follow

I've this line in .config/sxmo/hooks/start of my to set the background to some

wget -O - -q reddit.com/r/earthporn/top.json | jq '.data.children[] |.data.url' | grep jpg | head -1 | xargs wget -O /home/jan/background.jpg

Got this idea after reading prithu.dev/posts/unix-pipeline

BTW, Happy 2022! :-)

Sign in to participate in the conversation
Linux.Pizza

A instance dedicated - but not limited - to people with an interest in the GNU+Linux ecosystem and/or general tech. Sysadmins to enthusiasts, creators to movielovers - Welcome!