Initial commit : dotfiles setup

This commit is contained in:
SeraphimeZelel
2025-09-05 21:07:00 +07:00
parent 1bf3d416ef
commit 5a689e8849
141 changed files with 5346 additions and 0 deletions

17
.script/cava-pywalsync.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# Paths
CAVA_CONFIG="$HOME/.config/cava/config"
WAL_COLORS="$HOME/.cache/wal/colors.json"
# Take colors from pywal
COLOR1=$(jq -r '.colors.color8' "$WAL_COLORS")
COLOR2=$(jq -r '.colors.color1' "$WAL_COLORS")
# Update colors in CAVA
sed -i "s|^gradient_color_1 = '.*'|gradient_color_1 = '$COLOR1'|" "$CAVA_CONFIG"
sed -i "s|^gradient_color_2 = '.*'|gradient_color_2 = '$COLOR2'|" "$CAVA_CONFIG"
# Auto-Restart CAVA (if it's running)
killall -USR1 cava