Caway
Cava in waybar
Install / Use
/learn @PROxZIMA/CawayREADME
Caway

Dependencies:
- Cava
- Waybar
- playerctl
- Font that support unicode U+2581 to U+2588 (▁▂▃▄▅▆▇█)
Installation
Download caway and put it in your config/ module/script folder.
Usage
caway usage: caway [ options ... ]
where options include:
-b <integer> (Number of bars to display. Default 8)
-f <integer> (Framerate of the equilizer. Default 60)
-e (Disable equilizer. Default enabled)
-h (Show help message)
Example
- Change
execvalue to<script path> <arguments>.
"custom/music": {
"format": "{icon}{}",
"format-icons": {
// "Playing": " ", // Uncomment if not using caway
"Paused": " ",
"Stopped": "‭ﭥ " // This stop symbol is RTL. So ‭ is left-to-right override.
},
"escape": true,
"tooltip": true,
"exec": "~/.scripts/caway",
"return-type": "json",
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl previous",
"on-scroll-down": "playerctl next",
"on-click-right": "g4music",
"max-length": 35
}
Style
#custom-music.Playing {
background: rgb(137, 180, 250);
background: radial-gradient(circle, rgba(137, 180, 250, 120) 0%, rgba(142, 179, 250, 120) 6%, rgba(148, 226, 213, 1) 14%, rgba(147, 178, 250, 1) 14%, rgba(155, 176, 249, 1) 18%, rgba(245, 194, 231, 1) 28%, rgba(158, 175, 249, 1) 28%, rgba(181, 170, 248, 1) 58%, rgba(205, 214, 244, 1) 69%, rgba(186, 169, 248, 1) 69%, rgba(195, 167, 247, 1) 72%, rgba(137, 220, 235, 1) 73%, rgba(198, 167, 247, 1) 78%, rgba(203, 166, 247, 1) 100%);
background-size: 400% 400%;
animation: gradient_f 9s cubic-bezier(.72, .39, .21, 1) infinite;
text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.377);
font-weight: bold;
color: #fff;
}
#custom-music.Paused,
#custom-music.Stopped {
background: #161925;
}
Credits
- ray-pH/polybar-cava:
cawayextends its functionality with playerctl
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
