An open API service indexing awesome lists of open source software.

https://github.com/ebassi/word-clock-extension

Word clock extension for GNOME Shell
https://github.com/ebassi/word-clock-extension

clock gnome gnome-shell gnome-shell-extension javascript

Last synced: 11 months ago
JSON representation

Word clock extension for GNOME Shell

Awesome Lists containing this project

README

          

# Word clock extension for GNOME Shell

A *very* simple extension that turns the numeric clock of GNOME Shell
into a text version, using British English conventions.

### How does it work

The extension monkeypatches the `Main.panel.statusArea.dateMenu` object
and when the wall clock updates its `clock` property, the extension
replaces the `text` property of the label actor with its own processed
version of the time.

The default label of the clock when enabling the extension will contain
words instead of digits.

This is the end result:

![Word clock without date](/word-clock-no-date.png)

If the `clock-show-date` setting of the `org.gnome.desktop.interface`
schema is set to `true` then the extension will show the date as well
as the time:

![Word clock with date](/word-clock-with-date.png)

### How to install

Clone the repository:

$ git clone git://github.com/ebassi/word-clock-extension
$ cd word-clock-extension

And type:

$ make install

From the cloned repository. The extension will be copied in your `$HOME`
directory. You can use the GNOME Tweak Tool or the [GNOME Extensions](https://extensions.gnome.org)
website to enable it.

### Conflicts

This extension will likely conflict with every other extension that
changes the clock in the Shell panel.

### Contributing

If you find a bug in this extension, or you want to contribute a new feature,
follow these steps:

1. fork [the repository](https://github.com/ebassi/word-clock-extension)
2. hack, hack, hack
3. push your work to your repository
4. open [a pull request](https://github.com/ebassi/word-clock-extension/pulls)
5. wait patiently for me to review or merge your work

### License

This extension is released under the terms of the MIT/X11 license.

See the `LICENSE` file for more details.