Giter VIP home page Giter VIP logo

chronos's Introduction

Chronos time tracker

indicator preferences

About

GNOME Shell extension for mange and track time. Features:

  • tracking time
  • display customisation
  • log to file pause/resume
  • optional pause of tracking on screen lock (hibernate/shutdown)
  • reset to particular time value

Install

Turn it On at Gnome extensions

or

Clone it to ~/.local/share/gnome-shell/extensions/[email protected] and enable in GNOME Tweak Tool

Plans (ToDo)

Changes

  • flexible timer: no timer on pause, 1 min and 1 sec timer (depend on settings) - spare resources

Extension

  • alert on not started timer: weekdays, time range, alert if not started for 15 min, allow to dismiss alert for next day
  • alert for brakes: if not paused for 1 h alert that need to take a brake
  • add about page
  • truncate log to limit size
  • alarm on particular tracked time
  • pause on screen lock with delay time (like small breaks)
  • auto restart: new day, new session (if possible)

chronos's People

Contributors

0vvland avatar

Stargazers

Sören Schwert avatar Francisco Rodrigues avatar  avatar

Watchers

 avatar  avatar

Forkers

mwta mstnbach

chronos's Issues

Naming: change "Resume" to "Continue"

Hi! First of all, I love this extension. I use it daily to track my contracting working hours.

However, I constantly find myself hesitating to click the "Resume" button, because I'm confusing it with "Restart" and will accidentaly reset the timer. I just had the epiphany that it might be the wording. Both "Resume" and "Restart" start with the same letters, and "Restart" is the stronger word for me, so I associate anything that starts with "Re" in this context as a reset/restart.

Can we try renaming "Resume" to "Continue" to make it clear that this is the non-destructive option?

TypeError: this.actor.add_actor is not a function

I have Ubuntu 24.04, after update have error TypeError: this.actor.add_actor is not a function
Could you please help my ?

My /var/log/syslog, maybe it is help

2024-05-08T18:23:58.000439+03:00 ThinkBook gnome-shell[2831]: message repeated 119 times: [ Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.desktop.interface' is outside of valid range]
2024-05-08T18:23:58.044832+03:00 ThinkBook gnome-shell[7871]: Archive:  /tmp/QXZGN2.shell-extension.zip
2024-05-08T18:23:58.044932+03:00 ThinkBook gnome-shell[7871]:  extracting: /home/anton/.local/share/gnome-shell/extensions/[email protected]/stylesheet.css
2024-05-08T18:23:58.044953+03:00 ThinkBook gnome-shell[7871]:   inflating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/extension.js
2024-05-08T18:23:58.044977+03:00 ThinkBook gnome-shell[7871]:   inflating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/prefs.js
2024-05-08T18:23:58.044992+03:00 ThinkBook gnome-shell[7871]:    creating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/schemas/
2024-05-08T18:23:58.045010+03:00 ThinkBook gnome-shell[7871]:   inflating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.chronos.gschema.xml
2024-05-08T18:23:58.045026+03:00 ThinkBook gnome-shell[7871]:   inflating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled
2024-05-08T18:23:58.045048+03:00 ThinkBook gnome-shell[7871]:    creating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/locale/
2024-05-08T18:23:58.045063+03:00 ThinkBook gnome-shell[7871]:    creating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/locale/ru/
2024-05-08T18:23:58.045081+03:00 ThinkBook gnome-shell[7871]:    creating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/locale/ru/LC_MESSAGES/
2024-05-08T18:23:58.045138+03:00 ThinkBook gnome-shell[7871]:   inflating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/locale/ru/LC_MESSAGES/chronos.mo
2024-05-08T18:23:58.045174+03:00 ThinkBook gnome-shell[7871]:    creating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/components/
2024-05-08T18:23:58.045242+03:00 ThinkBook gnome-shell[7871]:   inflating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/components/ColorRow.js
2024-05-08T18:23:58.045305+03:00 ThinkBook gnome-shell[7871]:   inflating: /home/anton/.local/share/gnome-shell/extensions/[email protected]/components/TimeRow.js
2024-05-08T18:23:58.045354+03:00 ThinkBook gnome-shell[7871]:  extracting: /home/anton/.local/share/gnome-shell/extensions/[email protected]/metadata.json
2024-05-08T18:23:58.163593+03:00 ThinkBook gnome-shell[2831]: Usage of object.actor is deprecated for Chronos#012get@resource:///org/gnome/shell/ui/environment.js:310:23#012_init@file:///home/anton/.local/share/gnome-shell/extensions/[email protected]/extension.js:40:7#012ButtonBox@resource:///org/gnome/shell/ui/panelMenu.js:12:1#012PanelMenuButton@resource:///org/gnome/shell/ui/panelMenu.js:97:4#012Chronos@file:///home/anton/.local/share/gnome-shell/extensions/[email protected]/extension.js:16:3#012enable@file:///home/anton/.local/share/gnome-shell/extensions/[email protected]/extension.js:247:23#012_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:267:38#012loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:479:32#012async*_onInstallButtonPressed@resource:///org/gnome/shell/ui/extensionDownloader.js:337:35#012async*addButton/<@resource:///org/gnome/shell/ui/dialog.js:134:41#012@resource:///org/gnome/shell/ui/init.js:21:20
2024-05-08T18:23:58.229962+03:00 ThinkBook gnome-shell[2831]: Extension [email protected]: TypeError: this.actor.add_actor is not a function#012#012Stack trace:#012  _init@file:///home/anton/.local/share/gnome-shell/extensions/[email protected]/extension.js:40:18#012  ButtonBox@resource:///org/gnome/shell/ui/panelMenu.js:12:1#012  PanelMenuButton@resource:///org/gnome/shell/ui/panelMenu.js:97:4#012  Chronos@file:///home/anton/.local/share/gnome-shell/extensions/[email protected]/extension.js:16:3#012  enable@file:///home/anton/.local/share/gnome-shell/extensions/[email protected]/extension.js:247:23#012  _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:267:38#012  loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:479:32#012  async*_onInstallButtonPressed@resource:///org/gnome/shell/ui/extensionDownloader.js:337:35#012  async*addButton/<@resource:///org/gnome/shell/ui/dialog.js:134:41#012  @resource:///org/gnome/shell/ui/init.js:21:20#012  
2024-05-08T18:23:59.000657+03:00 ThinkBook gnome-shell[2831]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.desktop.interface' is outside of valid range

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.