summaryrefslogtreecommitdiff
path: root/src/caelestia/data/templates/cava.conf
diff options
context:
space:
mode:
authorBatuhan Edgüer <67585935+BestSithInEU@users.noreply.github.com>2025-08-18 10:18:26 +0300
committerGitHub <noreply@github.com>2025-08-18 17:18:26 +1000
commit3e19fd69199414eca2c1b6a77a688b1292588d48 (patch)
tree219037a0328345af9df3c9ae98cee8e3524ddbb2 /src/caelestia/data/templates/cava.conf
parent[CI] chore: update flake (diff)
downloadcaelestia-cli-3e19fd69199414eca2c1b6a77a688b1292588d48.tar.gz
caelestia-cli-3e19fd69199414eca2c1b6a77a688b1292588d48.tar.bz2
caelestia-cli-3e19fd69199414eca2c1b6a77a688b1292588d48.zip
theme: add nvtop, htop, and cava support (#45)
* templates: add nvtop, htop, and cava support * Triggers htop and cava theme reloads Sends a USR2 signal to htop and cava after their themes are applied. This prompts the applications to reload their configuration files, ensuring new themes are visible instantly without requiring a manual restart.
Diffstat (limited to 'src/caelestia/data/templates/cava.conf')
-rw-r--r--src/caelestia/data/templates/cava.conf57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/caelestia/data/templates/cava.conf b/src/caelestia/data/templates/cava.conf
new file mode 100644
index 0000000..1b7fcd3
--- /dev/null
+++ b/src/caelestia/data/templates/cava.conf
@@ -0,0 +1,57 @@
+# Cava Audio Visualizer Configuration Template
+# Optimized for smooth and responsive visualization
+
+[general]
+# Number of bars (20-200) - fewer bars = better performance
+bars = 64
+# Framerate (1-144) - higher = smoother but more CPU intensive
+framerate = 60
+
+[input]
+# Audio input method: pulse, alsa, fifo, or portaudio
+method = pulse
+# Audio device (leave as default for auto-detection)
+source = auto
+
+[output]
+# Output method: ncurses, terminal, raw, or circle
+method = ncurses
+# Terminal color scheme
+style = stereo
+
+[color]
+# Color gradient for bars using template variables
+gradient = 1
+gradient_count = 8
+gradient_color_1 = '{{ $green }}'
+gradient_color_2 = '{{ $teal }}'
+gradient_color_3 = '{{ $sky }}'
+gradient_color_4 = '{{ $sapphire }}'
+gradient_color_5 = '{{ $blue }}'
+gradient_color_6 = '{{ $lavender }}'
+gradient_color_7 = '{{ $mauve }}'
+gradient_color_8 = '{{ $maroon }}'
+
+[smoothing]
+# Noise reduction (0-100) - higher = smoother but less responsive
+# 77 is default, 85 provides good balance for smooth visualization
+noise_reduction = 85
+
+# Monstercat smoothing (0 or 1) - adds smoothing between adjacent bars
+monstercat = 1
+
+# Wave effect (0 or 1) - creates wave-like motion across bars
+waves = 0
+
+# Gravity (0-200) - controls how fast bars fall
+# 100 = normal gravity, 150 = faster fall, 50 = slower fall
+gravity = 120
+
+[eq]
+# Equalizer settings for frequency response
+# Lower frequencies tend to be louder, so reduce them slightly
+1 = 0.8
+2 = 0.9
+3 = 1.0
+4 = 1.1
+5 = 1.2