Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cava config is not efficient #1

Closed
LukashonakV opened this issue Jul 19, 2022 · 1 comment
Closed

cava config is not efficient #1

LukashonakV opened this issue Jul 19, 2022 · 1 comment

Comments

@LukashonakV
Copy link

Thanks for the cava idea. I decided to use the same idea but I faced with the issue. Your cava.sh consumes a lot of CPU. On my machine in idle mode cava.sh consumes 0.7 of CPU% + cava utility itself consumes 0.6 + Waybar starting consume 1.2CPU% + Sway starting consume 1%CPU. Which is not an efficient.
I've done next improvements . You can check it

  1. cava config cava.conf
  2. waybar config waybar config
    "custom/cava": { "exec": "cava -p $XDG_CONFIG_HOME/waybar/scripts/cava.conf | sed -u 's/;//g;s/0/▁/g;s/1/▂/g;s/2/▃/g;s/3/▄/g;s/4/▅/g;s/5/▆/g;s/6/▇/g;s/7/█/g;'", },
    With such configuration - CPU consumption is decreased significant.
@Ruixi-rebirth
Copy link
Owner

Thank you, I will take your advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants