emilio2hd / world-clock-desklet

A cinnamon desklet to display current time in different time zones
GNU General Public License v3.0
0 stars 0 forks source link
cinnamon cinnamon-desklet gjs linux

World Clock

This is a digital clock desklet that supports multiple clocks based on time zone for the Linux desktop environment Cinnamon (https://github.com/linuxmint/Cinnamon). Screenshot

Installation

Run:

git clone https://github.com/emilio2hd/world-clock-desklet ~/.local/share/cinnamon/desklets/worldclock@emilio2hd

After finishing, you should see the "World Clock" available in the Desklets window.

Development

Before starting developing, make sure to run make dev-prepare to install libs that are not required, but improves the development experience, like ESlint and Prettier. If you're using vscode, the tools will be enabled as soon as the recommended extesion are installed.
To check for any lint or code style issue, run make inspect. Note: dev-prepare will create a symbolic link to desklet folder. The desklet manager can't delete it normally. Use make uninstall or delete the symbolic link, to uninstall the desklet.

Translations

Run make generate-pot to generate the po/worldclock@emilio2hd. Make sure to remove node_module before running it.

Use poedit and create a new po file based on the file generated by the make command.

Run make install-po to install the translation files.

References