Skip to content

Commit 07f2142

Browse files
clocket@tirtha: Version 3.0.0 (#1745)
* changelog.md, remove dead code, remove commented-out code * remove unused settings, prefer const over let, prefer let over var * renaming, remove dead settings * renaming * renaming * add open-metro * unit setting * refactor loadWeatherLayout * add automatic location setting, renaming settings * setup translation for GUI * respect clock-use-24h cinnamon setting * remove hardcoded weekday and month shorthands, update desklet metadata * weather description line wrapping * refactor stylesheet: renaming class names, remove unused classes * retain weather style when toggling the `show-weather-data` setting * improve error handling and logging * setWeatherError function * weather refresh interval setting * async data fetching * caching of Open Metro geodata * add comments, promise.all, renaming * font size scaling * container scaling * icon scaling * adjust sizes * loading text * settings layout * date style settings * border radius settings * update settings layout * hide decoration setting * clock-show-seconds setting, date accent color setting * show clock setting, show date setting * hover effect and tooltips for reload buttons * clock custom time string * date custom date string * fix freezing on date and time string changed * update readme, fix typo * style presets, fix margins * update screenshot * prepare translation files, update german translation * fix URL in readme.md * cleanup settings in `on_desklet_removed()` * update version order in `CHANGELOG.md` * remove hard-coded local path
1 parent f04a20e commit 07f2142

17 files changed

Lines changed: 4577 additions & 1815 deletions

File tree

clocket@tirtha/README.md

Lines changed: 41 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,41 @@
1-
2-
# clocket@tirtha
3-
4-
Clocket is a desklet built for cinnamon DE based on gnome3.
5-
display time,data and current weather data.<br>
6-
7-
I built this desklet cuz I just wanted a desklet of my own taste.<br>
8-
Other desklets are great but i wanted a desklet having a clock and <br>
9-
weather viewer combined.<br>
10-
11-
## installation
12-
### installation from default desklet downloader (Recommended)
13-
> rightclick on your desktop
14-
> select `add desklet`
15-
> go to "Download" tab, search `clocket` and download that.
16-
17-
### installation from spice
18-
> download from <a href="https://cinnamon-spices.linuxmint.com/desklets/view/59">here</a>.
19-
20-
### doenload from source (get the most recent version here)
21-
> Go <a href="https://github.com/tirtharajsinha/clocket/releases/latest"> here</a> and download the desklet.
22-
> Then extract the archive and copy the `clocket@tirtha` folder into your `~/.local/share/cinnamon/desklets` folder.
23-
24-
## use
25-
26-
<ol>
27-
<li>launch the desklet</li>
28-
<li>right click on desklet select configure..</li>
29-
<li>change colors of your taste.</li>
30-
<li>Generate a current weather data api key from <a href="https://openweathermap.org/price">openweathermap.org</a> or existing api .just make sure that api is from openweathermap
31-
</li>
32-
<li>now put lat-lon or place name. if you dont know your location get it from <a href="https://tirtharajsinha.github.io/clocket/#latlon">here</a></li>
33-
<li>To update detailed weather block click on refresh button and in compacted version click current weather icon to refresh weather data.</li>
34-
</ol>
35-
36-
### important
37-
38-
> notice1 : `in compacted version click current weather icon to refresh weather data.`
39-
40-
41-
## For more info visit clocket official <a href="https://tirtharajsinha.github.io/clocket/">site </a> <br>
42-
43-
<img src="screenshot.png" alt ="">
1+
# clocket@tirtha
2+
3+
Clocket is a desklet built for the Cinnamon DE (based on GNOME 3).
4+
It displays time, date, and current weather data.
5+
6+
I built this desklet because I just wanted a desklet of my own taste.
7+
8+
Other desklets are great, but I wanted a desklet having a clock and weather viewer combined.
9+
10+
## Installation
11+
12+
### Installation from desklet manager (Recommended)
13+
14+
1. Right-click on your desktop
15+
2. Select `add desklet`
16+
3. Go to "Download" tab and search `clocket`
17+
4. Go to "Manage" tab and add the desklet to the desktop
18+
19+
### Manually installation
20+
21+
1. Download the desklet from [here](https://cinnamon-spices.linuxmint.com/files/desklets/clocket@tirtha.zip)
22+
2. Extract the archive
23+
3. Copy the `clocket@tirtha` folder into your `~/.local/share/cinnamon/desklets` folder
24+
4. You can now add the desklet in the desklet manager.
25+
26+
## Setup weather service
27+
28+
By default, the location is determined based on the IP address and the weather data is loaded from [Open-Meteo](https://open-meteo.com).
29+
30+
### Open Weather
31+
32+
The weather service can be changed to [Open Weather](http://openweathermap.org). An API key is required for this.
33+
34+
### Latitude and longitude format
35+
36+
The string for a latitude and longitude can be generated, for example, at [gps-coordinates.net](https://www.gps-coordinates.net/).
37+
38+
Two string formats are supported. Separated by a comma or a colon:
39+
40+
- 40.741895,-73.989308
41+
- 40.741895:-73.989308
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# Changelog
2+
3+
## [3.0.0] 12.02.2026
4+
5+
- added Open-Meteo data service (no API key required)
6+
- automatic location detection added and set as default
7+
- show weather on default
8+
- added setting to switch between Celsius and Fahrenheit
9+
- added translation for desklet GUI
10+
- uses the `clock-use-24h` Cinnamon setting
11+
- uses the `clock-show-seconds` Cinnamon setting
12+
- added line wrapping for weather description
13+
- added weather refresh interval setting
14+
- added desklet scale size setting based on system font size
15+
- added async data fetching
16+
- refactoring
17+
- dead code removed
18+
- unused variables
19+
- unused functions
20+
- unused settings
21+
- removed unused style classes
22+
- commented-out code removed
23+
- code formatted
24+
- prefer `const` over `let`
25+
- prefer `let` over `var`
26+
- more readable names for properties, variables, functions, etc.
27+
- removed tooltips without additional information
28+
- renamed settings
29+
- removed hardcoded weekday and month shorthands
30+
- updated desklet metadata and fix typo in description
31+
- removed hardcoded heights and widths in styles
32+
- renamed stylesheet class names
33+
- error handling and logging
34+
- added more code comments
35+
- added changelog.md
36+
- previous changes and version numbers extracted from Git history
37+
- updated README.md
38+
- updated screenshot
39+
- retain weather style when toggling the `show-weather-data` setting
40+
- caching of Open-Meteo geodata retrieved via city name
41+
- fix stretched icons
42+
- added loading text
43+
- reorganize settings layout
44+
- added hover effect and tooltips for reload buttons
45+
- added new settings
46+
- date font size
47+
- date text color
48+
- date accent color
49+
- date background color
50+
- weather font size
51+
- weather forecast background color
52+
- clock border radius
53+
- date border radius
54+
- weather border radius
55+
- weather forecast border radius
56+
- hide decorations (set to true by default)
57+
- show clock setting
58+
- show date setting
59+
- custom clock time string
60+
- custom date time string
61+
- style presets
62+
- Translucent
63+
- Transparent
64+
- Material Design
65+
- Metro
66+
- Mint
67+
- prepared, updated translation files
68+
- updated german translation
69+
70+
## [2.5] 16.04.2025
71+
72+
- fix for clock freeze issue
73+
74+
## [no new version number] 03.09.2022
75+
76+
- added support for libsoup3
77+
78+
## [2.4] 20.01.2022
79+
80+
- fixed bugs pointed by users in comment section
81+
- added compact view
82+
- added unit converting methods
83+
- updated Settings panel
84+
85+
## [2.1] 06.08.2021
86+
87+
- added weather forecast display
88+
89+
## [no new version number] 03.07.2021
90+
91+
- auto update feature
92+
- feedback display
93+
- more customization
94+
- removed all unnecessary embedded codes
95+
96+
## [no version number] 13.06.2021
97+
98+
- Initial release

0 commit comments

Comments
 (0)