Giter VIP home page Giter VIP logo

manyclock's Introduction

ManyClock

A GNOME-Shell extension which adds two clocks

I modified the original project MultiClock that displayed a second clock in the top Panel Menu. I've added code to display two clocks because I have two distributed teams that I work with.

Currently this extension explicitly creates two additional clocks (designed to appear on either side of the default clock if it is centered), each configurable to a separate timezone. In the future, I would like to add additional logic to configure the number of clocks.

Configuration

Click on the displayed "alternate" time to select from presets or to add your own tz named timezone. Selected timezones from the dropdown are saved for future logins.

Clock 1 Settings Clock 2 Settings
alt text alt text

Installation

Using extensions.gnome.org/

Coming soon!

Manual Installation

Prerequisites

  • GNOME Tweaks installed
    • apt install gnome-tweaks
  • enable user extensions
    • gsettings set org.gnome.shell disable-user-extensions false

User extensions can also be enabled within the GNOME Tweaks application.

Install

git clone [email protected]:brianrudolf/ManyClock.git ~/.local/share/gnome-shell/extensions/ManyClock@brianrudolf
gnome-extensions enable ManyClock@brianrudolf

You may need to restart GNOME Shell by pressing Alt+F2 to open the Run Dialog and enter restart (or just r)

Development

Just edit the files in ~/.local/share/gnome-shell/extensions/ManyClock@brianrudolf/.

Under X11, using Alt+F2 to run r will cause a gnome-shell reload (and thus pick up the edited extension).

Under Wayland, there's no ability to reload just gnome-shell, so you're better off doing development in a nested environment that you can readily restart:

dbus-run-session -- gnome-shell --nested --wayland

License

This extension is distributed under the terms of the GNU General Public License, version 2 or later. See the LICENSE file for details.

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.