mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-25 22:52:48 -05:00
Make active highlight color configurable
This commit is contained in:
@@ -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: [],
|
||||
|
||||
Reference in New Issue
Block a user