Google Spreadsheets

Display information from cells in a Google Spreadsheet.

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"

Name Description Value
border Optional Whether or not to draw this widget with a border. Default: true. true, false
colors.values The color to display the cell values in. Any X11 color name or long-form hex value (i.e.: #ff0000).
cells.names
cells.addresses
enabled Optional Whether or not this module is executed and if its data displayed onscreen. Default: false. true, false
focusChar Optional Define one of the number keys as a short cut key to access the widget. 0..9
position Defines where in the grid this module’s widget will be displayed.
refreshInterval Optional How often, in seconds, this module will update its data. Default: 300. Any positive integer.
secretFile Your Google client secret JSON file. A string representing a file path to the JSON secret file.

Source Code

wtf/modules/google/gspreadsheets/