Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
/ Glock Public

Clock in and out of google calendar events from the command line

Notifications You must be signed in to change notification settings

linbug/Glock

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Glock

Clock in and out of google calendar events from the command line

Usage

  • track "your event" : starts timer for your event; untracks any previously tracking events
  • untrack : ends timer; sends event to google calendar

Configuration

Change "your_email@gmail.com" to your email address (or your preferred calendar address, if you have more than one calendar). Google will ask you for authorisation the first time you use it. Then forever after your login details will be stored in the mysterious "calendar.dat" file in your home directory. This path can be set manually by changing the le_rue_de_calendardat variable.

You also need to link "track" and "untrack" to running the script, by adding the following to your .bash_profile:

  • alias untrack='/path/to/googlecal_functional.py untrack'
  • alias track='/path/to/googlecal_functional.py track'

Requirements

  • Python 3 (if you're using Python 2, you can set up a virtual environment)
  • OS X or GNU/Linux
  • Python packages:

About

Clock in and out of google calendar events from the command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.