This is a clock application in Java.
The original idea is made by zk-phi.
- zk-phi/sky-color-clock: [Emacs] A clock widget for modelines with real-time sky color and moonphase/weather icon
- Emacs で時の流れを感じる - Qiita
You can get a jar file from release pages.
- Windows
- I confirmed to run in Windows 10.
- Mac
- I can't confirm in Mac because I don't have it.
- If this application can't run in Mac, please pull request.
Java 8u40 or later.
$ java -jar littlesky.jar
This application save configurations to a file (littkesky.xml
).
The file is saved at the current directory.
If you move the jar file, you must move the littlesky.xml
too.
At the first time, you must set your location.
The location setting is used at calculating sunset/surise times and requesting weather informations.
The main window has three elements.
- Sky Icon
- This element displays the moon phase if weather is sunny.
- Or else, rainy or snowy icon is shown.
- Time
- Current time.
- Temperature
- Current temperature.
- Temperature is displayed as color.
- blue (colder), white (normal), red (hotter)
The context menu is shown if you click the time label on mouse right button.
This application uses the OpenWeatherMap to get weather informations.
Please get API Key of the OpenWeatherMap.
You need to sign up the OpenWeatherMap to get API Key.
Select Options
at the context menu, setting dialog is shown.
Please set the API Key, and save it.
Select [Weather service] > [Start] at the context menu.
Weather service is started.
At next start time, weather service is started automatically, if API Key is set.
If you want to stop weather service, select [Weather service] > [Stop] on the context menu.
You can set settings of http proxy at Options dialog.
If you don't set port
, 80
is used at default.
If the http proxy requires authentications, you must set User
and Password
Note: Password is saved in plain text at the configuration file(littlesky.xml
).
Select [View] at the context menu.
If you check this menu, window is always shown on most top of the desktop.
Default is false.
You can show or hide the seconds at time label.
Default is true.
You can show or hide the temperature element.
Default is true.
You can show or hide the sky status icon.
Default is true.
This application uses some OSS.