Skip to content

Commit

Permalink
added upper/lower case support
Browse files Browse the repository at this point in the history
  • Loading branch information
graysky2 committed Nov 12, 2012
1 parent c1e279e commit fcc5f93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions backdrop-randomizer
Expand Up @@ -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
Expand Down

0 comments on commit fcc5f93

Please sign in to comment.