fix some script

This commit is contained in:
SeraphimeZelel
2025-11-02 18:06:22 +07:00
parent ca6ae11292
commit 4504482b83
23 changed files with 324 additions and 5226 deletions

View File

@@ -5,8 +5,8 @@ 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")
COLOR1=$(jq -r '.colors.color1' "$WAL_COLORS")
COLOR2=$(jq -r '.colors.color5' "$WAL_COLORS")
# Update colors in CAVA
sed -i "s|^gradient_color_1 = '.*'|gradient_color_1 = '$COLOR1'|" "$CAVA_CONFIG"