Commit graph

275 commits

Author SHA1 Message Date
Bradley M. Kuhn
091408e1c7 Use variable to call emacs rather than hard-coded. 2014-07-16 08:27:05 -04:00
Bradley M. Kuhn
73eeef81be Change where emacs is called from. 2014-07-16 08:26:56 -04:00
Bradley M. Kuhn
41126968f5 Correct percentage calculation. 2014-07-16 08:26:33 -04:00
Bradley M. Kuhn
73e8444e11 Downloaded this from: http://www-verimag.imag.fr/~moy/opendocument/oodiff 2014-05-06 15:44:51 -04:00
Bradley M. Kuhn
aee97c855d Make this error string a bit shorter. 2014-04-17 07:40:41 -04:00
Bradley M. Kuhn
598937cc06 Remove trap and exit at the end of the script. 2014-04-17 07:40:19 -04:00
Bradley M. Kuhn
ac1db134a3 Improve percentage output. 2014-04-03 18:56:49 -04:00
Bradley M. Kuhn
6012f6e78e Downloaded cwdiff from :
http://code.google.com/p/cj-overlay/source/browse/cwdiff?repo=evergreens
2014-04-03 18:56:39 -04:00
Bradley M. Kuhn
dad0a1776c Keep also a total in the date range, and do extra reporting based on that. 2014-03-25 11:22:44 -04:00
Bradley M. Kuhn
cb385f1cca Total should actually be against the folder entirely, not just the date. 2014-03-25 11:20:59 -04:00
Bradley M. Kuhn
3a291f7ac7 Fix output to properly display. 2014-03-25 11:20:46 -04:00
Bradley M. Kuhn
ea2d5b61ab Add license notice to this file. 2014-03-06 10:14:15 -05:00
Creative Commons, Inc
bcec00d299 Creative Commons 0 1.0 Universal (CC0 1.0), Public Domain Dedication,
as downloaded from: http://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
2014-03-06 09:07:07 -05:00
Bradley M. Kuhn
a1e7bba51f This file as it stood at my last edit of it back in 2010. 2014-03-06 08:56:40 -05:00
Bradley M. Kuhn
7743682496 Import of a version of this file from an old emacs backup I had. 2014-03-06 08:56:01 -05:00
Bradley M. Kuhn
1137a2e779 Initial version of this file as I wrote it back in 2009. 2014-03-06 08:55:30 -05:00
Bradley M. Kuhn
5ae8c190a3 Failure to acquire lock should definitely be an exit 1. 2014-02-26 07:54:43 -05:00
Bradley M. Kuhn
7d91707c99 Differentiate between a remove_lock and the failure mode.
Ensure that if there isn't really a failure, we don't generate errors, but if
there is a failure, that goes into the conky output.
2014-02-26 06:08:20 -05:00
Bradley M. Kuhn
5f1d54bf4b This really should have had the loop first, then the test.
I am left wondering if there was actually I reason I wrote it the other way,
and no time to run git blame to see why.
2014-02-19 18:22:48 -05:00
Bradley M. Kuhn
9594aa730d Fix #! line 2014-02-19 18:21:14 -05:00
Bradley M. Kuhn
f2f481bdb0 exit 1 on errors in all possible cases. 2014-02-19 18:21:06 -05:00
Bradley M. Kuhn
2067946044 If the export fails, abort this script,
to avoid checking in an empty directory that may have been left behind by the
failed export.
2014-02-10 08:53:35 -05:00
Bradley M. Kuhn
cff22b28ae Move die from cleanup to be below test of directory writable.
It's possible this cleanup code is causing serious problems during failures,
because it's leaving us no ics files when the export fails.  Probably it
would be better if we move aside the ics files and restore them later.
2014-02-10 08:53:02 -05:00
Bradley M. Kuhn
05deb600f8 Yet another hack on the formatting change. 2014-01-24 14:54:01 -05:00
Bradley M. Kuhn
e8fbe2dea2 Don't die when calendars aren't readable, rather,
just tell conky to display why no calendar is there.
2014-01-24 14:53:40 -05:00
Bradley M. Kuhn
c6f6b948f5 Use $LOCK_CLEANUP_CODE in more places; don't DieLog when no lock possible. 2014-01-24 09:34:38 -05:00
Bradley M. Kuhn
4079554096 Don't die badly when config file just isn't there.
Instead, give a message in the conky output, which is the better thing to do,
since the config file (at least for me) may be on a partition that hasn't
been mounted.
2014-01-24 07:02:22 -05:00
Bradley M. Kuhn
a496a9c1cc Don't duplicate completely equivalent weather alerts. 2014-01-01 15:56:45 -05:00
Bradley M. Kuhn
c6c9f7095c Better formatting. 2014-01-01 15:53:55 -05:00
Bradley M. Kuhn
94c6f646f5 Don't call espeak directly. 2013-12-31 16:51:11 -05:00
Bradley M. Kuhn
b070e8719e Remove errant debugging print statement. 2013-12-31 16:51:02 -05:00
Bradley M. Kuhn
7229eac400 Handle different wind field. 2013-12-31 16:50:19 -05:00
Bradley M. Kuhn
b2a67fcc24 Hopefully last and final hack to fix the VPOS situation for images. 2013-12-31 16:50:11 -05:00
Bradley M. Kuhn
80583bd631 Popup/speak information about weather alerts, but don't do it repeatedly. 2013-12-31 16:49:37 -05:00
Bradley M. Kuhn
7afe9c2ecb Improve finding of proper update time. 2013-12-29 17:55:47 -05:00
Bradley M. Kuhn
45ec43d85d Add weather conditions to output. Fix windspeed. 2013-12-29 16:53:43 -05:00
Bradley M. Kuhn
7516706de1 Correct details about figuring out if we have forecast data from first source
or not.
2013-12-29 16:53:29 -05:00
Bradley M. Kuhn
e63a51ed16 Only modify this if it's defined. 2013-12-29 16:52:54 -05:00
Bradley M. Kuhn
27aa3c975f Corrected reversed variable. 2013-12-29 16:26:48 -05:00
Bradley M. Kuhn
f8d27ac1fd Print a header for conky-related output. 2013-12-29 16:22:45 -05:00
Bradley M. Kuhn
0822103e07 Remove blank line. 2013-12-29 16:22:12 -05:00
Bradley M. Kuhn
c8644ae826 Support for accuweather forecast in addition to USA National Weather Service.
By default, the script now "falls back" to accuweather forecast data if the
USA National Weather Service data appears not to be there (based on the
'updatetime' field.

The accuweather plugin uses a different nomenclature, and as such, the
LOCATION input can now have a '|' in it, and the | left hand side is for the
National Weather Service and the right hand side is for the accuweather
location.

Note finally that you can get *just* the Accuweather data by putting
'FORCE_ACCUWEATHER' as the left hand side of the | symbol.
2013-12-29 16:22:07 -05:00
Bradley M. Kuhn
6ce1883e20 Add windSpeed to the values we ignore when empty or N/A. Fix empty on others. 2013-12-29 16:03:09 -05:00
Bradley M. Kuhn
0161986fc5 Properly handle missing windgust and feelsLike values. 2013-12-29 16:01:01 -05:00
Bradley M. Kuhn
63196d6d10 Script to run calendar and handle git details. 2013-11-30 14:59:08 -05:00
Bradley M. Kuhn
8cb5021d40 Do not duplicate lines in the proposed diary. 2013-11-30 14:58:51 -05:00
Bradley M. Kuhn
0d08eb65f4 Add filename to the emacs proposed file. 2013-11-30 14:49:37 -05:00
Bradley M. Kuhn
f1f3d31199 Fix bad paste from -import script. 2013-11-30 14:45:43 -05:00
Bradley M. Kuhn
b590029675 Print lines to standard output. 2013-11-30 14:45:22 -05:00
Bradley M. Kuhn
8aa1ba669e use -q option on git; import User info. 2013-11-30 14:37:56 -05:00