Cava Module (#662)
* First version of the cava module * Update cava stuff * Update themes for cava * Update themes * Handle cava visibility when null * Add bar characters in options --------- Co-authored-by: Ed Bennett <ed@dodimead.com> Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
@@ -408,6 +408,15 @@ const options = mkOptions(CONFIG, {
|
||||
icon_background: opt(colors.base2),
|
||||
spacing: opt('0.45em'),
|
||||
},
|
||||
cava: {
|
||||
enableBorder: opt(false),
|
||||
border: opt(colors.teal),
|
||||
background: opt(colors.base2),
|
||||
text: opt(colors.teal),
|
||||
icon: opt(colors.teal),
|
||||
icon_background: opt(colors.base2),
|
||||
spacing: opt('0.5em'),
|
||||
},
|
||||
},
|
||||
},
|
||||
menus: {
|
||||
@@ -1172,6 +1181,27 @@ const options = mkOptions(CONFIG, {
|
||||
scrollUp: opt(''),
|
||||
scrollDown: opt(''),
|
||||
},
|
||||
cava: {
|
||||
showIcon: opt(true),
|
||||
icon: opt(''),
|
||||
spaceCharacter: opt(' '),
|
||||
barCharacters: opt(['▁', '▂', '▃', '▄', '▅', '▆', '▇', '█']),
|
||||
showActiveOnly: opt(false),
|
||||
bars: opt(10),
|
||||
channels: opt(2),
|
||||
framerate: opt(60),
|
||||
samplerate: opt(44100),
|
||||
autoSensitivity: opt(true),
|
||||
lowCutoff: opt(50),
|
||||
highCutoff: opt(10000),
|
||||
noiseReduction: opt(0.77),
|
||||
stereo: opt(false),
|
||||
leftClick: opt(''),
|
||||
rightClick: opt(''),
|
||||
middleClick: opt(''),
|
||||
scrollUp: opt(''),
|
||||
scrollDown: opt(''),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user