From fcc5f935d04d6e27a27f981c86fdefce1e0bec6c Mon Sep 17 00:00:00 2001 From: graysky Date: Mon, 12 Nov 2012 15:47:50 -0500 Subject: [PATCH] added upper/lower case support --- README.md | 2 +- backdrop-randomizer | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index aa11b69..eb0f851 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Each time you or cron calls the script, it will randomly select a picture from y * Setup the image to "Single image" and select the symlink the script just made. * Call the script via cronjob at the desired interval. (Below example shows once every 20 min). Hint for newbies: edit your crontab like this: `crontab -e` - */20 * * * * /usr/bin/backdrop-randomizer + */20 * * * * /usr/bin/backdrop-randomizer R ##Links * AUR Package: https://aur.archlinux.org/packages/backdrop-randomizer diff --git a/backdrop-randomizer b/backdrop-randomizer index 420d8dd..6a38cb8 100755 --- a/backdrop-randomizer +++ b/backdrop-randomizer @@ -140,13 +140,13 @@ randomize() { } case "$1" in - r) + R|r) check ; randomize ;; - s) + S|s) check ; stats ;; - l) + L|l) check ; list ;; - c) + C|c) check ; cycle ; randomize ;; *) check