Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Feh

Revision as of 04:57, 17 November 2009 by imported>Ackthet (Created page with ''''feh''' is an image viewer but it is mainly used for setting background images on minimalistic desktop setups. =Ackthets feh script= The following script changes your backgrou…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

feh is an image viewer but it is mainly used for setting background images on minimalistic desktop setups.

Ackthets feh script

The following script changes your background to a random image in the folder ~/.bg. It should be called in your .xinitrc so that its started with X.

#!/bin/sh
while true;
do
   find $HOME/.bg -type f -name '*.jpg' -o -name '*.png' | shuf -n 1 | xargs feh --bg-scale
   sleep 15m
done &