Giter Site home page Giter Site logo

word-clock-extension's Introduction

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.

word-clock-extension's People

Contributors

ebassi avatar michel-slm avatar mariospr avatar

Stargazers

Nick Richards avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.