diff --git a/config.jsonc b/config.jsonc index 0193a3a..1e508e5 100644 --- a/config.jsonc +++ b/config.jsonc @@ -7,7 +7,8 @@ "spacing": 4, // Gaps between modules (4px) // Choose the order of the modules "modules-left": [ - "mpris" + "mpris", + "cava" ], "modules-center": [ "hyprland/workspaces" diff --git a/modules.jsonc b/modules.jsonc index 154a121..e7f8bd5 100644 --- a/modules.jsonc +++ b/modules.jsonc @@ -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'", "format": "{} 🖥️", "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" + } + }, } diff --git a/style.css b/style.css index 5b2f9c2..a7c52b7 100644 --- a/style.css +++ b/style.css @@ -107,6 +107,7 @@ button:hover { #idle_inhibitor, #scratchpad, #power-profiles-daemon, +#cava, #mpd { padding: 0 10px; color: #ffffff;