1 # indicator-lunar-calendar
3 An application indicator for Unity that displays the current date and time
6 Copyright (c) 2016 Adrian I Lam <adrianiainlam@gmail.com>
8 *Not to be confused with [indicator-lunar][1], which shows attributes and
9 ephemerides for astronomical objects.*
11 [1]: https://launchpad.net/~thebernmeister/+archive/ubuntu/ppa
17 Note: node-gtk, one of this program's dependencies, requires nodejs version
20 [2]: https://nodejs.org/en/
22 - [node-gtk][3] (by @WebReflection)
24 npm package: https://www.npmjs.com/package/node-gtk
26 Dependencies: build-essential, git, nodejs (>= 5), gobject-introspection,
27 libgirepository1.0-dev
29 Note: This package failed to build for me. I had to remove `-Werror` from
30 `cflags` in file "bindings.gyp" to get it to build.
32 [3]: https://github.com/WebReflection/node-gtk
34 - [lunar-calendar-zh][4] (by @roadmanfong)
36 npm package: https://www.npmjs.com/package/lunar-calendar-zh
38 Note: This package contains a bug which renders it useless if your computer
39 is set to a time zone which observes Daylight Saving. I have forked it and
40 fixed it in <https://github.com/adrianiainlam/LunarCalendar>.
42 [4]: https://github.com/roadmanfong/LunarCalendar
44 - [node-cron][5] (by @ncb000gt)
46 npm package: https://www.npmjs.com/package/cron
48 [5]: https://github.com/ncb000gt/node-cron
52 1. Install the dependencies listed above.
53 2. Clone this repository.
54 3. Add the script as a startup application.
55 4. Run the script manually for the first time. (Alternatively, log out
57 5. The indicator should be shown at the top right corner, having an icon
58 that shows the year and a label that shows the month and date.
59 6. Clicking on the indicator should result in a menu with more detailed
60 information including the time.
64 This program is released under the MIT License. For the full text of this
65 license, please refer to the file "indicator-lunar-calendar.js".