Skip to content

ebassi/word-clock-extension

Repository files navigation

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

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

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 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
  2. hack, hack, hack
  3. push your work to your repository
  4. open a pull request
  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.