diff --git a/_sample_configs/bargraph_config.png b/_sample_configs/bargraph_config.png new file mode 100644 index 00000000..93bdcbd5 Binary files /dev/null and b/_sample_configs/bargraph_config.png differ diff --git a/_sample_configs/bargraph_config.yml b/_sample_configs/bargraph_config.yml index c70bc2aa..7577049f 100644 --- a/_sample_configs/bargraph_config.yml +++ b/_sample_configs/bargraph_config.yml @@ -14,7 +14,7 @@ wtf: graphIcon: "💀" graphStars: 25 position: - top: 2 + top: 1 left: 0 height: 2 width: 2 diff --git a/_sample_configs/complex_config.yml b/_sample_configs/complex_config.yml deleted file mode 100644 index 10b586ab..00000000 --- a/_sample_configs/complex_config.yml +++ /dev/null @@ -1,236 +0,0 @@ -wtf: - colors: - background: gray - border: - focusable: darkslateblue - focused: orange - normal: gray - grid: - # How _wide_ the columns are, in terminal characters. In this case we have - # five columns, each of which are 37 characters wide - columns: [37, 37, 37, 37, 37] - - # How _high_ the rows are, in terminal lines. In this case we have five rows - # that support ten line of text, and one of four - rows: [10, 10, 10, 10, 10, 4] - refreshInterval: 1 - mods: - bamboohr: - enabled: true - position: - top: 0 - left: 0 - height: 2 - width: 1 - refreshInterval: 900 - clocks: - colors: - rows: - even: "lightblue" - odd: "white" - enabled: true - locations: - # From https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - Avignon: "Europe/Paris" - Barcelona: "Europe/Madrid" - Dubai: "Asia/Dubai" - UTC: "Etc/UTC" - Vancouver: "America/Vancouver" - Toronto: "America/Toronto" - position: - top: 3 - left: 1 - height: 1 - width: 1 - refreshInterval: 15 - # Valid options are: alphabetical, chronological - sort: "alphabetical" - cmdrunner: - args: ["-g", "batt"] - cmd: "pmset" - enabled: true - position: - top: 6 - left: 2 - height: 1 - width: 2 - refreshInterval: 30 - gcal: - colors: - title: "red" - description: "lightblue" - highlights: - - ['1on1|1\/11', 'green'] - - ['apple|google|aws', 'blue'] - - ['interview|meet\ ', 'lightseagreen'] - - ['lunch', 'yellow'] - past: "gray" - conflictIcon: "🚨" - currentIcon: "💥" - displayResponseStatus: true - email: "your.email@example.com" - enabled: true - eventCount: 12 - position: - top: 0 - left: 0 - height: 4 - width: 1 - refreshInterval: 300 - secretFile: "~/.config/wtf/gcal/client_secret.json" - withLocation: true - 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" - git: - commitCount: 5 - enabled: true - position: - top: 0 - left: 2 - height: 2 - width: 3 - refreshInterval: 8 - repositories: - - "/Users/chris/go/src/github.com/wtfutil/wtf" - github: - enabled: true - position: - top: 2 - left: 2 - height: 2 - width: 3 - refreshInterval: 300 - repositories: - repo-name: "owner id" - wtf: "wtfutil" - username: "wtfutil" - jira: - colors: - rows: - even: "lightblue" - odd: "white" - domain: "https://company.atlassian.net" - enabled: true - position: - top: 1 - left: 1 - height: 1 - width: 1 - project: "WTF" - refreshInterval: 900 - username: "chris.cummer" - newrelic: - applicationId: 10594735 - enabled: true - deployCount: 10 - position: - top: 4 - left: 2 - height: 2 - width: 3 - refreshInterval: 900 - opsgenie: - displayEmpty: true - enabled: true - position: - top: 2 - left: 0 - height: 2 - width: 1 - refreshInterval: 21600 - power: - enabled: true - position: - top: 5 - left: 0 - height: 2 - width: 1 - refreshInterval: 15 - security: - enabled: true - position: - top: 4 - left: 0 - height: 2 - width: 1 - refreshInterval: 3600 - status: - enabled: false - position: - top: 5 - left: 0 - height: 1 - width: 1 - refreshInterval: 1 - system: - enabled: true - position: - top: 5 - left: 1 - height: 2 - width: 1 - refreshInterval: 3600 - todo: - checkedIcon: "X" - colors: - checked: gray - highlight: - fore: "black" - back: "orange" - enabled: true - filename: "todo.yml" - position: - top: 0 - left: 1 - height: 2 - width: 1 - refreshInterval: 3600 - weather: - apiKey: [YOUR API KEY] - # From http://openweathermap.org/help/city_list.txt - cityids: - - 3370352 - - 1283240 - WTF_OWM_API_KEY: [YOUR API KEY] - colors: - current: "lightblue" - enabled: true - language: "EN" - position: - top: 2 - left: 1 - height: 1 - width: 1 - refreshInterval: 90 - tempUnit: "C" - blockfolio: - enabled: true - displayHoldings: true - refreshInterval: 400 - device_token: "device token here, you can find how to get it here https://github.com/bob6664569/blockfolio-api-client" - colors: - name: blue - grows: green - drop: red - position: - top: 3 - left: 1 - width: 1 - height: 1 diff --git a/_sample_configs/sample_config.png b/_sample_configs/sample_config.png new file mode 100644 index 00000000..2de48f1e Binary files /dev/null and b/_sample_configs/sample_config.png differ diff --git a/_sample_configs/sample_config.yml b/_sample_configs/sample_config.yml new file mode 100644 index 00000000..1fccfe3a --- /dev/null +++ b/_sample_configs/sample_config.yml @@ -0,0 +1,180 @@ +wtf: + colors: + background: black + border: + focusable: darkslateblue + focused: orange + normal: gray + checked: yellow + highlight: + fore: black + back: gray + rows: + even: yellow + odd: white + grid: + # How _wide_ the columns are, in terminal characters. In this case we have + # four columns, each of which are 35 characters wide. + columns: [35, 35, 35, 35] + # How _high_ the rows are, in terminal lines. In this case we have four rows + # that support ten line of text and one of four. + rows: [10, 10, 10, 10, 4] + refreshInterval: 1 + openFileUtil: "open" + mods: + # You can have multiple widgets of the same type. + # The "key" is the name of the widget and the type is the actual + # widget you want to implement. + europe_time: + title: "Europe" + type: clocks + colors: + rows: + even: "lightblue" + odd: "white" + enabled: true + locations: + GMT: "Etc/GMT" + Amsterdam: "Europe/Amsterdam" + Berlin: "Europe/Berlin" + Barcelona: "Europe/Madrid" + Copenhagen: "Europe/Copenhagen" + London: "Europe/London" + Rome: "Europe/Rome" + Stockholm: "Europe/Stockholm" + position: + top: 0 + left: 0 + height: 1 + width: 1 + refreshInterval: 15 + sort: "alphabetical" + americas_time: + title: "Americas" + type: clocks + colors: + rows: + even: "lightblue" + odd: "white" + enabled: true + locations: + UTC: "Etc/UTC" + Vancouver: "America/Vancouver" + New_York: "America/New_York" + Sao_Paolo: "America/Sao_Paulo" + Denver: "America/Denver" + Iqaluit: "America/Iqaluit" + Bahamas: "America/Nassau" + Chicago: "America/Chicago" + position: + top: 0 + left: 1 + height: 1 + width: 1 + refreshInterval: 15 + sort: "alphabetical" + battery: + type: power + title: "⚡️" + enabled: true + position: + top: 1 + left: 3 + height: 1 + width: 1 + refreshInterval: 15 + todolist: + type: todo + checkedIcon: "X" + colors: + checked: gray + highlight: + fore: "black" + back: "orange" + enabled: true + filename: "todo.yml" + position: + top: 1 + left: 0 + height: 2 + width: 1 + refreshInterval: 3600 + ip: + type: ipinfo + title: "My IP" + colors: + name: "lightblue" + value: "white" + enabled: true + position: + top: 0 + left: 2 + height: 1 + width: 2 + refreshInterval: 150 + security_info: + type: security + title: "Staying safe" + enabled: true + position: + top: 1 + left: 2 + height: 1 + width: 1 + refreshInterval: 3600 + readme: + type: textfile + enabled: true + filePaths: + - "~/.config/wtf/config.yml" + format: true + formatStyle: "monokai" + position: + top: 1 + left: 1 + height: 1 + width: 1 + refreshInterval: 15 + news: + type: hackernews + title: "HackerNews" + enabled: true + numberOfStories: 10 + position: + top: 2 + left: 1 + height: 1 + width: 3 + storyType: top + refreshInterval: 900 + resources: + type: resourceusage + enabled: true + position: + top: 3 + left: 0 + height: 2 + width: 1 + refreshInterval: 1 + uptime: + type: cmdrunner + args: [""] + cmd: "uptime" + enabled: true + position: + top: 4 + left: 1 + height: 1 + width: 3 + refreshInterval: 30 + disks: + type: cmdrunner + cmd: "df" + args: ["-h"] + enabled: true + position: + top: 3 + left: 1 + height: 1 + width: 3 + refreshInterval: 3600 \ No newline at end of file diff --git a/_sample_configs/simple_config.yml b/_sample_configs/simple_config.yml deleted file mode 100644 index 45a8af50..00000000 --- a/_sample_configs/simple_config.yml +++ /dev/null @@ -1,105 +0,0 @@ -wtf: - colors: - background: black - border: - focusable: darkslateblue - focused: orange - normal: gray - checked: yellow - highlight: - fore: black - back: gray - rows: - even: yellow - odd: white - grid: - columns: [40, 40] - rows: [4, 13, 9] - refreshInterval: 1 - openFileUtil: "open" - mods: - # You can have multiple widgets of the same type. - # The "key" is the name of the widget and the type is the actual - # widget you want to implement - time: - title: "Vacation time" - type: clocks - colors: - rows: - even: "lightblue" - odd: "white" - enabled: true - locations: - Vancouver: "America/Vancouver" - Toronto: "America/Toronto" - position: - top: 0 - left: 0 - height: 1 - width: 1 - refreshInterval: 15 - sort: "alphabetical" - utc: - title: "UTC" - type: clocks - colors: - rows: - even: "lightblue" - odd: "white" - enabled: true - locations: - UTC: "Etc/UTC" - GMT: "Etc/GMT" - position: - top: 0 - left: 1 - height: 1 - width: 1 - refreshInterval: 15 - sort: "alphabetical" - ip: - type: ipinfo - title: "My IP" - colors: - name: "lightblue" - value: "white" - enabled: true - position: - top: 2 - left: 0 - height: 1 - width: 1 - refreshInterval: 150 - battery: - type: power - title: "⚡️" - enabled: true - position: - top: 2 - left: 1 - height: 1 - width: 1 - refreshInterval: 15 - security_info: - type: security - title: "Staying safe" - enabled: true - position: - top: 1 - left: 0 - height: 1 - width: 1 - refreshInterval: 3600 - readme: - type: textfile - enabled: true - filePaths: - - "~/.config/wtf/config.yml" - format: true - formatStyle: "monokai" - position: - top: 1 - left: 1 - height: 1 - width: 1 - refreshInterval: 15 diff --git a/_sample_configs/uniconfig.png b/_sample_configs/uniconfig.png new file mode 100644 index 00000000..84f66a12 Binary files /dev/null and b/_sample_configs/uniconfig.png differ diff --git a/_sample_configs/uniconfig.yml b/_sample_configs/uniconfig.yml index dfafe535..333e9b6f 100644 --- a/_sample_configs/uniconfig.yml +++ b/_sample_configs/uniconfig.yml @@ -1,15 +1,26 @@ wtf: + colors: + background: black + border: + focusable: darkslateblue grid: columns: [40, 40] rows: [16] refreshInterval: 1 mods: - clocks: + americas_time: + title: "Americas" + type: clocks enabled: true locations: - Toronto: "America/Toronto" UTC: "Etc/UTC" Vancouver: "America/Vancouver" + New_York: "America/New_York" + Sao_Paolo: "America/Sao_Paulo" + Denver: "America/Denver" + Iqaluit: "America/Iqaluit" + Bahamas: "America/Nassau" + Chicago: "America/Chicago" position: top: 0 left: 0 @@ -21,7 +32,6 @@ wtf: enabled: true filePaths: - "~/.config/wtf/config.yml" - - "~/.config/wtf/log.txt" format: true formatStyle: "vim" position: