Skip to content
/ musikcube-waves Public template

musikcube-waves is a module for bars like waybar and polybar that shows different animations based on musikcube status

License

Notifications You must be signed in to change notification settings

jvc84/musikcube-waves

Repository files navigation

musikcube-waves

musikcube-waves is a module for bars like waybar and polybar, that shows different animations based on musikcube status.

Main information

Requirements:

musikcube
bc
cava

Installation:

git clone https://github.com/jvc84/musikcube-waves.git
cd musikcube-waves
mkdir ~/.config/cava
cp assets/cava/cava_option_config ~/.config/cava

Important about CAVA:

You can configure number of bars and framerate of the option cava in ~/.config/cava/cava_option_config:

bars = <bars>
framerate = <framerate>

Usage:

 python /PATH/TO/musikcube-waves/run_musikcube_animation.py [--filler OPTION] [--saver OPTION] [--player OPTION]
  • waybar module:
"custom/waves": {
    "format": "{}",
    "exec": "python /PATH/TO/musikcube-waves/run_musikcube_animation.py [--filler OPTION] [--saver OPTION] [--player OPTION]"
},
  • polybar module:
[module/waves]
type = custom/script

exec = python /PATH/TO/musikcube-waves/run_musikcube_animation.py [--filler OPTION] [--saver OPTION] [--player OPTION] 
tail = true 

format = <label>
label = " %output%"

Information about Flags and Options

Use python /PATH/TO/run_musikcube_animation.py --help to read about flags and options.

Examples

If you just want to see cava:

plot

python /PATH/TO/run_musikcube_animation.py --filler cava --saver cava --player cava

If you want mini waves to move when music is on:

plot

python /PATH/TO/run_musikcube_animation.py --filler flat=3 --saver splash --player waves

If you want to separate left and right cava halves to put something in between:

plot

  • module for left audio channel:
python /PATH/TO/run_musikcube_animation.py --filler info --saver flat=8 --player cava=left
  • some other modules

  • module for right audio channel:

python /PATH/TO/run_musikcube_animation.py --filler flat=8 --saver flat=8 --player cava=right

Maybe you just want a little cat to live in your bar:

plot

python /PATH/TO/run_musikcube_animation.py --filler cat --saver cat --player cat

That's pretty much it. Put star if you like this module and send bug report if something is wrong.

(=^ > ω <^=) 💕

About

musikcube-waves is a module for bars like waybar and polybar that shows different animations based on musikcube status

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published