diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-09-05 18:08:09 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-09-05 18:08:09 +0200 |
commit | d7d8a5b31099f1f15ee1b7b7437840a3d2625a13 (patch) | |
tree | f95b9539057f5389c7008883734739bbd0e3d726 /etc/functions/rrad | |
parent | 6868af923c67a1d83c8655376ed6e03792195147 (diff) |
Moved rrad and youtube-watch into scripts
Diffstat (limited to 'etc/functions/rrad')
-rw-r--r-- | etc/functions/rrad | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/etc/functions/rrad b/etc/functions/rrad deleted file mode 100644 index 195ceb3..0000000 --- a/etc/functions/rrad +++ /dev/null @@ -1,14 +0,0 @@ -## vim:ft=zsh -typeset url=$(printf http://www.wetteronline.de/daten/radar/dnrw/%s/std_%02d%02d.gif \ - $(date +%Y/%m/%d) $(( $(date +%H) - 2)) $(( $(date +%M) / 15 * 15 )) ) -typeset file=$(mktemp /tmp/rrad.XXXXXXX) - -curl -s $url > $file - -if [[ ${$(du -b $file)[1]} == 0 ]] { - echo "Error" - return 1 -} - -mplayer -loop 0 $file -rm $file |