Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

wkentaro/google-calendar-manager

Repository files navigation

Requirements

Copy client_secrets.json.sample as ./client_secrets.json and edit it.
Fill the YOUR_CLIENT_SECRET and YOUR_CLIENT_ID. It's client id for a native application.

Usage

summarize spent time

# summarize your spent time in a day.
$ python summarize_spent.py

change events attributes

You can change events attributes with your preferences. First, copy events_config.yml.sample as ~/.events_config.yml and edit it. See documentation here to more information.

# change events config (colors & summary) 
$ python change_events.py 

Events config

Prerequisites

The name of each events should meet rules below.

# title only like "TITLE"
work  # example
# title & detail like "TITLE: DETAIL"
work: meeting with Eliza # example

color_rules

color_rules is for user who likes colored events. You can set summaries as list with each color.

color_rules:
  COLOR_NAME1: [SUMMARY_NAME1, SUMMARY_NAME2]
  COLOR_NAME2: [SUMMARY_NAME3]

# example
color_rules:
  purple: [work, study]
  green: [pastime]

alias

alias is for user who likes quick input of each events. You can set short name and its original name.

alias:
  SHORT_NAME1: ORIGINAL_NAME1
  SHORT_NAME2: ORIGINAL_NAME2
  
# example
alias:
  wk: work
  sd: study
  pm: pastime

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages