feat: rmpc cava
This commit is contained in:
@@ -65,13 +65,13 @@
|
|||||||
"<C-l>": PaneRight,
|
"<C-l>": PaneRight,
|
||||||
"<C-u>": UpHalf,
|
"<C-u>": UpHalf,
|
||||||
"N": PreviousResult,
|
"N": PreviousResult,
|
||||||
"a": Add,
|
"<Space>": Add,
|
||||||
"A": AddAll,
|
"<C-Space>": AddAll,
|
||||||
"r": Rename,
|
"r": Rename,
|
||||||
"n": NextResult,
|
"n": NextResult,
|
||||||
"g": Top,
|
"g": Top,
|
||||||
"<Space>": Select,
|
"m": Select,
|
||||||
"<C-Space>": InvertSelection,
|
"M": InvertSelection,
|
||||||
"G": Bottom,
|
"G": Bottom,
|
||||||
"<CR>": Confirm,
|
"<CR>": Confirm,
|
||||||
"i": FocusInput,
|
"i": FocusInput,
|
||||||
@@ -115,8 +115,11 @@
|
|||||||
(
|
(
|
||||||
name: "Queue",
|
name: "Queue",
|
||||||
pane: Split(
|
pane: Split(
|
||||||
direction: Horizontal,
|
direction: Vertical,
|
||||||
panes: [(size: "100%", pane: Pane(Queue))],
|
panes: [
|
||||||
|
(size: "60%", pane: Pane(Queue)),
|
||||||
|
(size: "40%", pane: Pane(Cava)),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
@@ -136,5 +139,29 @@
|
|||||||
pane: Pane(Playlists),
|
pane: Pane(Playlists),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
cava: (
|
||||||
|
framerate: 30, // default 60
|
||||||
|
autosens: true, // default true
|
||||||
|
sensitivity: 100, // default 100
|
||||||
|
bar_width: 1,
|
||||||
|
bar_spacing: 0,
|
||||||
|
lower_cutoff_freq: 50, // not passed to cava if not provided
|
||||||
|
higher_cutoff_freq: 10000, // not passed to cava if not provided
|
||||||
|
input: (
|
||||||
|
method: Fifo,
|
||||||
|
source: "/tmp/mpd.fifo",
|
||||||
|
sample_rate: 44100,
|
||||||
|
channels: 2,
|
||||||
|
sample_bits: 16,
|
||||||
|
),
|
||||||
|
smoothing: (
|
||||||
|
noise_reduction: 77, // default 77
|
||||||
|
monstercat: false, // default false
|
||||||
|
waves: false, // default false
|
||||||
|
),
|
||||||
|
// this is a list of floating point numbers thats directly passed to cava
|
||||||
|
// they are passed in order that they are defined
|
||||||
|
eq: []
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
playlist_style: (fg: "magenta"),
|
playlist_style: (fg: "magenta"),
|
||||||
),
|
),
|
||||||
level_styles: (
|
level_styles: (
|
||||||
info: (fg: "blue", bg: "black"),
|
info: (fg: "cyan", bg: "blue"),
|
||||||
warn: (fg: "yellow", bg: "black"),
|
warn: (fg: "yellow", bg: "black"),
|
||||||
error: (fg: "red", bg: "black"),
|
error: (fg: "red", bg: "black"),
|
||||||
debug: (fg: "light_green", bg: "black"),
|
debug: (fg: "light_green", bg: "black"),
|
||||||
@@ -42,12 +42,13 @@
|
|||||||
),
|
),
|
||||||
progress_bar: (
|
progress_bar: (
|
||||||
symbols: ["🬋", " ", "⠔"],
|
symbols: ["🬋", " ", "⠔"],
|
||||||
track_style: (),
|
track_style: (fg: "blue"),
|
||||||
elapsed_style: (fg: "blue"),
|
elapsed_style: (fg: "blue"),
|
||||||
thumb_style: (fg: "blue"),
|
thumb_style: (fg: "blue"),
|
||||||
),
|
),
|
||||||
scrollbar: (
|
scrollbar: (
|
||||||
symbols: ["│", "█", "▲", "▼"],
|
symbols: ["", "█", "", ""],
|
||||||
|
// symbols: ["│", "█", "▲", "▼"],
|
||||||
track_style: (fg: "black"),
|
track_style: (fg: "black"),
|
||||||
ends_style: (fg: "black"),
|
ends_style: (fg: "black"),
|
||||||
thumb_style: (fg: "magenta"),
|
thumb_style: (fg: "magenta"),
|
||||||
@@ -201,5 +202,14 @@
|
|||||||
],
|
],
|
||||||
lyrics: (
|
lyrics: (
|
||||||
timestamp: false
|
timestamp: false
|
||||||
)
|
),
|
||||||
|
cava: (
|
||||||
|
bar_symbols: ['▁', '▂', '▃', '▄', '▅', '▆', '▇', '█'],
|
||||||
|
inverted_bar_symbols: ['▔', '🮂', '🮃', '▀', '🮄', '🮅', '🮆', '█'],
|
||||||
|
|
||||||
|
bar_width: 1, // width of a single bar in columns
|
||||||
|
bar_spacing: 1, // free space between bars in columns
|
||||||
|
orientation: Bottom,
|
||||||
|
bar_color: Single("blue"),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user