Results 1 to 2 of 2

Thread: Openbox wallpaper changer

  1. #1
    Join Date
    Jul 2009
    Location
    Dayton Ohio USA
    Beans
    1,070
    Distro
    Ubuntu 13.04 Raring Ringtail

    Openbox wallpaper changer

    I'm a big fan of Openbox and have a simple way to rotate my wallpaper. I use crontab to change my wallpaper from 8am to midnight,(when I would use the computer). The added benefit of changing on the hour is it brings my attention to the time, which I lose track of when I'm busy.I use "feh" to display my wallpaper and photos so here is my simple changer.
    Code:
    # m h  dom mon dow   command
     00 00  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/universe.jpg
     00 08  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/zapp.jpg
     00 09  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/wisper.jpg
     00 10  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/universe.jpg
     00 11  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/timezone.jpg
     00 12  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/seeds.jpg
     00 13  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/roadtrip.jpg
     00 14  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/moonphase.jpg
     00 15  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/goldfish.jpg
     00 16  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/earth.jpg
     00 17  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/deepblue.jpg
     00 18  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/cosmos.jpg
     00 19  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/boobles.jpg
     00 20  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/wisper.jpg
     00 21  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/seeds.jpg
     00 22  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/roadtrip.jpg
     00 23  *   *   *    env DISPLAY=:0 feh --bg-scale ~/background/timezone.jpg
    It's okay, I'm a limo driver

  2. #2
    Join Date
    Apr 2007
    Beans
    8

    Re: Openbox wallpaper changer

    Thanks for posting this. Here's one for a more rapid switching.


    # m h dom mon dow command
    0,20,40 * * * * env DISPLAY=:0 feh --bg-scale ~/Pictures/27key.png
    15,35,55 * * * * env DISPLAY=:0 feh --bg-scale ~/Pictures/Babbage_Dif$
    30,50,10 * * * * env DISPLAY=:0 feh --bg-scale ~/Pictures/typewriter-$
    45,5,25 * * * * env DISPLAY=:0 feh --bg-scale ~/Pictures/Vespa-GTS.jpg

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •