Make active highlight color configurable

This commit is contained in:
Max Goodhart
2020-09-09 23:03:55 -07:00
parent e2c5414608
commit 84e97b9310
3 changed files with 17 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ function parseArgs() {
'window.y',
'window.frameless',
'window.background-color',
'window.active-color',
],
'Window settings',
)
@@ -64,6 +65,10 @@ function parseArgs() {
describe: 'Background color of wall (useful for chroma-keying)',
default: '#000',
})
.option('window.active-color', {
describe: 'Active (highlight) color of wall',
default: '#fff',
})
.group(['data.interval', 'data.json-url', 'data.toml-file'], 'Datasources')
.option('data.interval', {
describe: 'Interval (in seconds) for refreshing polled data sources',
@@ -233,6 +238,7 @@ async function main() {
width: argv.window.width,
height: argv.window.height,
gridCount: argv.grid.count,
activeColor: argv.window['active-color'],
},
auth: auth.getState(),
streams: [],