Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emilio2hd/world-clock-desklet
A cinnamon desklet to display current time in different time zones
https://github.com/emilio2hd/world-clock-desklet
cinnamon cinnamon-desklet gjs linux
Last synced: about 2 months ago
JSON representation
A cinnamon desklet to display current time in different time zones
- Host: GitHub
- URL: https://github.com/emilio2hd/world-clock-desklet
- Owner: emilio2hd
- License: gpl-3.0
- Created: 2024-05-18T12:47:52.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-21T08:41:10.000Z (9 months ago)
- Last Synced: 2024-05-21T10:29:20.802Z (9 months ago)
- Topics: cinnamon, cinnamon-desklet, gjs, linux
- Language: JavaScript
- Homepage:
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](./screenshot.png)## 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](https://eslint.org) and [Prettier](https://prettier.io/).
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](https://poedit.net/) 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
- https://projects.linuxmint.com/reference/git/cinnamon-tutorials
- https://gjs.guide/guides
- https://github.com/linuxmint/cinnamon/tree/master/js/ui
- https://github.com/linuxmint/cinnamon-spices-desklets
- https://gjs-docs.gnome.org/