nixers
[Bash] Hopelessly Overengineered Wallpaper Randomizer - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Development & Graphics (https://nixers.net/Forum-Development-Graphics)
+--- Forum: Programming On Unix (https://nixers.net/Forum-Programming-On-Unix)
+--- Thread: [Bash] Hopelessly Overengineered Wallpaper Randomizer (/Thread-Bash-Hopelessly-Overengineered-Wallpaper-Randomizer)


[Bash] Hopelessly Overengineered Wallpaper Randomizer - crshd - 16-09-2013

Introduction
============
After I downloaded all of Simple Desktop's wallpapers, I needed something to switch them. I wanted to have a random slideshow, but with the ability to stop it at any given point, so a simple _while true; do feh; sleep; done_ loop just doesn't cut it. So I whipped up a little script, which I can call with a cronjob. And I can use it to stop the slideshow. And restart it. _(Note: the script doesn't actually do any slideshow. It needs to be called periodically)_

**TL;DR:** Set random wallpaper. Start/stop slideshow.

## Usage

Options:
-d Set wallpaper directory. Default: ~/usr/image/simpledesktops
-l Lock rotation
-u Unlock rotation
-h Display this help

## Dependencies
- feh

## Download
[The Script](https://paste.xinu.at/UKJ/bash)


RE: [Bash] Hopelessly Overengineered Wallpaper Randomizer - yrmt - 16-09-2013

Thanks, it's gretty good.


RE: [Bash] Hopelessly Overengineered Wallpaper Randomizer - zygotb - 18-09-2013

Nice work! Thanks for sharing.


RE: [Bash] Hopelessly Overengineered Wallpaper Randomizer - dami0 - 24-07-2014

Thanks. I've been looking for something like that recently.