1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
wtf/_site/content/modules/google/gspreadsheet.md
2018-08-15 13:25:29 -07:00

1.3 KiB

title, date, draft, weight
title date draft weight
Google Spreadsheets 2018-06-10T18:26:26-04:00 false 50

Added in v0.0.7.

Display information from cells in a Google Spreadsheet.

wtf/gspreadsheets/

Configuration

gspreadsheets:
  colors:
    values: "green"
  cells:
    names:
    - "Cell 1 name"
    - "Cell 2 name"
    addresses:
    - "A1"
    - "A2"
  enabled: true
  position:
    top: 0
    left: 0
    width: 1
    height: 1
  refreshInterval: "300"
  secretFile: "~/.config/wtf/gspreadsheets/client_secret.json"
  sheetId: "id_of_google_spreadsheet"

Attributes

colors.values
The color to display the cell values in.
Values: Any X11 color name.

cells.names

cells.addresses

enabled
Whether or not this module is executed and if its data displayed onscreen.
Values: true, false.

position
Where in the grid this module's widget will be displayed.

refreshInterval
How often, in seconds, this module will update its data.
Values: A positive integer, 0..n.

secretFile
Your Google client secret JSON file.
Values: A string representing a file path to the JSON secret file.