added cava

This commit is contained in:
skyler 2025-05-06 22:49:37 +08:00
parent 992ee6d3f2
commit 8cd009b992
3 changed files with 26 additions and 2 deletions

View File

@ -7,7 +7,8 @@
"spacing": 4, // Gaps between modules (4px) "spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules // Choose the order of the modules
"modules-left": [ "modules-left": [
"mpris" "mpris",
"cava"
], ],
"modules-center": [ "modules-center": [
"hyprland/workspaces" "hyprland/workspaces"

View File

@ -203,5 +203,27 @@
"exec": "nvidia-smi --query-gpu=utilization.gpu,temperature.gpu --format=csv,nounits,noheader | sed 's/\\([0-9]\\+\\), \\([0-9]\\+\\)/\\2°🌡 \\1%/g'", "exec": "nvidia-smi --query-gpu=utilization.gpu,temperature.gpu --format=csv,nounits,noheader | sed 's/\\([0-9]\\+\\), \\([0-9]\\+\\)/\\2°🌡 \\1%/g'",
"format": "{} 🖥️", "format": "{} 🖥️",
"interval": 3 "interval": 3
},
"cava": {
//"cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
"framerate": 30,
"autosens": 1,
//"sensitivity": 100,
"bars": 14,
"lower_cutoff_freq": 50,
"higher_cutoff_freq": 10000,
"method": "pulse",
"source": "auto",
"stereo": true,
"reverse": false,
"bar_delimiter": 0,
"monstercat": false,
"waves": false,
"noise_reduction": 0.77,
"input_delay": 2,
"format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ],
"actions": {
"on-click-right": "mode"
} }
},
} }

View File

@ -107,6 +107,7 @@ button:hover {
#idle_inhibitor, #idle_inhibitor,
#scratchpad, #scratchpad,
#power-profiles-daemon, #power-profiles-daemon,
#cava,
#mpd { #mpd {
padding: 0 10px; padding: 0 10px;
color: #ffffff; color: #ffffff;