Coder Social home page Coder Social logo

sirrahd / datetime-format Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daniel-khodabakhsh/datetime-format

0.0 2.0 0.0 36 KB

Gnome extension which allows users to customise the datetime format on the status bar and date menu.

License: GNU General Public License v3.0

JavaScript 99.41% CSS 0.59%

datetime-format's Introduction

Datetime Format

A Gnome extension which allows users to modify the datetime displayed in the following places:

  • Status bar
  • Date menu when status bar is clicked
    • Day name
    • Date

The datetime is updated every second and does not need any Gnome date or time settings to be modified.

Installation

To install the extension, run the build.js installation script with node:

git clone https://github.com/Daniel-Khodabakhsh/datetime-format.git
cd datetime-format
git checkout release
node --use_strict build.js

This will install the extension in ~/.local/share/gnome-shell/extensions/.

An optional 'system' parameter can be supplied (node build.js system) to install the extension in /usr/local/share/gnome-shell/extensions/.

Afterwards, restart gnome-shell by pressing Alt+F2, type in 'r', then press enter.

Changing formats

Install and run gnome-tweak-tool to toggle and modify the different format targets.

Alternatively, you can list and change GSettings under org.gnome.shell.extensions.datetime-format.*.

Uninstallation

Uninstallation can be done in various ways.

  • Option #1: Remove via gnome-tweak-tool.
  • Option #2: Run node build.js uninstall or node build.js system uninstall depending on where the extension was installed to.

TODO

  • Include other languages (zh, ru, ge, it, es, ...)
  • Screen shield (lock screen) format manipulation.

License

GPLv3

Donate

The best gift is that someone somewhere finds this useful. But if someone wants to donate for the time and effort I put into this I also wouldn't mind!

PayPal

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.