A very simple extension that turns the numeric clock of GNOME Shell into a text version, using British English conventions.
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:
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:
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.
This extension will likely conflict with every other extension that changes the clock in the Shell panel.
If you find a bug in this extension, or you want to contribute a new feature, follow these steps:
- fork the repository
- hack, hack, hack
- push your work to your repository
- open a pull request
- wait patiently for me to review or merge your work
This extension is released under the terms of the MIT/X11 license.
See the LICENSE
file for more details.