2022-07-17 01:25:53 -04:00
|
|
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
|
|
description: over-engineered conky schema
|
|
|
|
required: [modules, layout]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
|
2022-07-19 19:15:26 -04:00
|
|
|
bootstrap:
|
|
|
|
required: [update_interval, dimensions]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
update_interval:
|
|
|
|
description: the update interval (seconds)
|
|
|
|
type: number
|
|
|
|
dimensions:
|
|
|
|
description: the max width/height of the conky window
|
|
|
|
type: array
|
|
|
|
minItems: 2
|
|
|
|
maxItems: 2
|
|
|
|
items:
|
|
|
|
type: integer
|
|
|
|
minimum: 1
|
|
|
|
|
2022-07-19 22:55:17 -04:00
|
|
|
# NOTE none of these are required
|
2022-07-17 01:25:53 -04:00
|
|
|
modules:
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
filesystem:
|
|
|
|
required: [show_smart, fs_paths]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
show_smart:
|
|
|
|
description: show the smart deamon indicator
|
|
|
|
type: boolean
|
|
|
|
fs_paths:
|
|
|
|
description: the filesystem paths for which usage should be shown
|
|
|
|
type: array
|
|
|
|
minItems: 1
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
required: [name, path]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
path:
|
|
|
|
type: string
|
|
|
|
|
|
|
|
graphics:
|
|
|
|
required: [show_temp, show_clock, show_gpu_util, show_mem_util, show_vid_util]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
show_temp:
|
|
|
|
description: show the GPU temp
|
|
|
|
type: boolean
|
|
|
|
show_clock:
|
|
|
|
description: show the GPU clock speeds
|
|
|
|
type: boolean
|
|
|
|
show_gpu_util:
|
|
|
|
description: show the GPU utilization plot
|
|
|
|
type: boolean
|
|
|
|
show_mem_util:
|
|
|
|
description: show the GPU memory utilization plot
|
|
|
|
type: boolean
|
|
|
|
show_vid_util:
|
|
|
|
description: show the GPU video utilization plot
|
|
|
|
type: boolean
|
|
|
|
|
|
|
|
memory:
|
2022-07-18 00:36:44 -04:00
|
|
|
required: [show_stats, show_plot, table_rows]
|
2022-07-17 01:25:53 -04:00
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
show_stats:
|
|
|
|
description: show memory stats/dial
|
|
|
|
type: boolean
|
2022-07-18 19:38:15 -04:00
|
|
|
show_swap:
|
|
|
|
description: show swap dial
|
|
|
|
type: boolean
|
2022-07-17 01:25:53 -04:00
|
|
|
show_plot:
|
|
|
|
description: show the RAM utilization plot
|
|
|
|
type: boolean
|
2022-07-18 00:36:44 -04:00
|
|
|
table_rows: &table
|
|
|
|
descrition: the number of rows in the table (0 for no table)
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
2022-07-17 01:25:53 -04:00
|
|
|
|
|
|
|
power:
|
|
|
|
required: [battery, rapl_specs]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
battery:
|
2022-07-19 00:54:46 -04:00
|
|
|
description: the battery device to use (or blank if none)
|
|
|
|
type: string
|
2022-07-17 01:25:53 -04:00
|
|
|
rapl_specs:
|
|
|
|
description: the Intel RAPL specs for which plots should be made
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
required: [name, address]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
address:
|
|
|
|
type: string
|
|
|
|
|
|
|
|
processor:
|
2022-07-18 00:36:44 -04:00
|
|
|
required: [core_rows, show_stats, show_plot, table_rows]
|
2022-07-17 01:25:53 -04:00
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
2022-07-18 00:36:44 -04:00
|
|
|
core_rows:
|
|
|
|
description: the number of rows over which to show discrete cores
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
core_padding:
|
|
|
|
description: horizontal padding to apply to the core layout
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
2022-07-17 01:25:53 -04:00
|
|
|
show_stats:
|
|
|
|
description: show frequency/HWP stats
|
|
|
|
type: boolean
|
|
|
|
show_plot:
|
|
|
|
description: show CPU utilization plot
|
|
|
|
type: boolean
|
2022-07-18 00:36:44 -04:00
|
|
|
table_rows: *table
|
2022-07-17 01:25:53 -04:00
|
|
|
|
|
|
|
readwrite:
|
|
|
|
required: [devices]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
devices:
|
|
|
|
description: the devices to include in I/O summations
|
|
|
|
type: array
|
|
|
|
minItems: 1
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
|
|
|
|
layout:
|
|
|
|
required: [anchor, panels]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
anchor:
|
|
|
|
description: the coordinates of the upper-left corner to anchor the app
|
|
|
|
type: array
|
|
|
|
minItems: 2
|
|
|
|
maxItems: 2
|
|
|
|
items:
|
|
|
|
type: integer
|
|
|
|
panels:
|
2022-07-17 12:40:36 -04:00
|
|
|
description: either a panel (object) or padding between panels (int)
|
2022-07-17 01:25:53 -04:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
anyOf:
|
|
|
|
- type: integer
|
|
|
|
minimum: 0
|
2022-07-17 12:40:36 -04:00
|
|
|
- type: object
|
|
|
|
description: layout for a single panel
|
|
|
|
required: [columns, margins]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
margins:
|
|
|
|
type: array
|
|
|
|
minItems: 2
|
|
|
|
maxItems: 2
|
|
|
|
items:
|
|
|
|
type: integer
|
|
|
|
columns:
|
|
|
|
description: |
|
|
|
|
either the columns in this panel (object) or padding
|
|
|
|
between columns (int)
|
|
|
|
type: array
|
|
|
|
minItems: 1
|
|
|
|
items:
|
|
|
|
anyOf:
|
|
|
|
- type: integer
|
|
|
|
minimum: 0
|
|
|
|
- type: object
|
|
|
|
required: [blocks, width]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
width:
|
|
|
|
description: the width of all modules in this column
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
blocks:
|
|
|
|
description: |
|
|
|
|
either a module name (string) or padding (int)
|
|
|
|
type: array
|
|
|
|
minItems: 1
|
|
|
|
items:
|
|
|
|
anyOf:
|
|
|
|
- type: integer
|
|
|
|
minimum: 0
|
|
|
|
- type: string
|
|
|
|
pattern:
|
|
|
|
"^system|graphics|processor|readwrite|\
|
|
|
|
network|pacman|filesystem|power|memory$"
|
2022-07-17 14:39:38 -04:00
|
|
|
|
|
|
|
theme:
|
2022-07-19 00:54:46 -04:00
|
|
|
required: [font, geometry, patterns]
|
2022-07-17 14:39:38 -04:00
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
font:
|
2022-07-18 00:36:44 -04:00
|
|
|
required: [family, sizes]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
family:
|
|
|
|
type: string
|
|
|
|
sizes:
|
|
|
|
required: [normal, plot_label, table, header]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
normal: &font_size
|
|
|
|
type: integer
|
|
|
|
minimum: 5
|
|
|
|
plot_label: *font_size
|
|
|
|
table: *font_size
|
|
|
|
header: *font_size
|
2022-07-19 00:54:46 -04:00
|
|
|
|
|
|
|
geometry:
|
|
|
|
required: [plot, table]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
plot:
|
|
|
|
required: [seconds, ticks]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
seconds:
|
|
|
|
description: the number of seconds on each timeseries plot
|
|
|
|
type: integer
|
|
|
|
minimum: 30
|
|
|
|
ticks:
|
|
|
|
description: the number of ticks on the x/y axes
|
|
|
|
type: array
|
|
|
|
minItems: 2
|
|
|
|
maxItems: 2
|
|
|
|
items:
|
|
|
|
type: integer
|
|
|
|
minimum: 2
|
|
|
|
table:
|
|
|
|
required: [name_chars, padding, header_padding]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
name_chars:
|
|
|
|
description: |
|
|
|
|
the length to which the name column should be trimmed (if any)
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
padding:
|
|
|
|
description: the x/y padding around the table
|
|
|
|
type: array
|
|
|
|
minItems: 2
|
|
|
|
maxItems: 2
|
|
|
|
items:
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
header_padding:
|
|
|
|
description: the padding beneath the column headers
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
row_spacing:
|
|
|
|
description: the distance between the center of each row
|
|
|
|
type: integer
|
|
|
|
minimum: 10
|
|
|
|
|
|
|
|
header:
|
|
|
|
required: [underline_offset, padding]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
underline_offset:
|
|
|
|
description: the offset of the underline (from top of header)
|
|
|
|
type: integer
|
|
|
|
minimum: 10
|
|
|
|
padding:
|
|
|
|
description: the padding beneath the underline
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
|
2022-07-17 14:39:38 -04:00
|
|
|
patterns:
|
|
|
|
required: [header, panel, text, border, plot, indicator]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
header: &pattern
|
|
|
|
oneOf:
|
|
|
|
- type: integer
|
|
|
|
- type: object
|
|
|
|
oneOf:
|
|
|
|
- required: [color, alpha]
|
|
|
|
- required: [gradient]
|
|
|
|
- required: [gradient_alpha]
|
|
|
|
properties:
|
|
|
|
color:
|
|
|
|
type: integer
|
2022-07-19 00:54:46 -04:00
|
|
|
alpha: &alpha
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1
|
2022-07-17 14:39:38 -04:00
|
|
|
gradient:
|
|
|
|
type: array
|
|
|
|
minItems: 2
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
required: [stop, color]
|
|
|
|
additionalProperties: false
|
|
|
|
properties: &gradient
|
|
|
|
stop:
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1
|
|
|
|
color:
|
|
|
|
type: integer
|
|
|
|
|
|
|
|
gradient_alpha:
|
|
|
|
type: array
|
|
|
|
minItems: 2
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
required: [stop, color, alpha]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
<<: *gradient
|
|
|
|
alpha: *alpha
|
|
|
|
|
|
|
|
panel:
|
|
|
|
required: [bg]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
bg: *pattern
|
|
|
|
|
|
|
|
text:
|
|
|
|
required: [active, inactive, critical]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
active: *pattern
|
|
|
|
inactive: *pattern
|
|
|
|
critical: *pattern
|
|
|
|
|
|
|
|
border: *pattern
|
|
|
|
|
|
|
|
plot:
|
|
|
|
required: [grid, outline, data]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
grid: *pattern
|
|
|
|
outline: *pattern
|
|
|
|
data:
|
|
|
|
required: [border, fill]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
border: *pattern
|
|
|
|
fill: *pattern
|
|
|
|
|
|
|
|
indicator:
|
|
|
|
required: [bg, fg]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
bg: *pattern
|
|
|
|
fg:
|
|
|
|
required: [active, critical]
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
active: *pattern
|
|
|
|
critical: *pattern
|