Difference between revisions of "Feh"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Pew
imported>Pew
(Replaced content with "Category:Pending deletion")
Line 1: Line 1:
TODO: Move to softwre page
+
[[Category:Pending deletion]]
 
 
'''feh''' is an image viewer but it is mainly used for setting background images on minimalistic desktop setups. To get it to set your background when X starts, put the following line in your [[.xinitrc]].
 
<pre>
 
feh --bg-scale /path/to/image
 
</pre>
 
 
 
=Ackthet's Rotating Background Image Script=
 
The following script changes your background to a random image in the folder <code>~/.bg</code> every 15 minutes. It should be called in your [[.xinitrc]] so that it is started with X.
 
 
 
<pre>
 
#!/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 &
 
</pre>
 
 
 
[[Category:Needs restoration]]
 

Revision as of 01:03, 4 January 2018