From 9e82c96713989a7565eadac505b36e3dbe91cd5a Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 11 Jun 2023 07:56:17 -0400 Subject: Added, removed, renamed scripts --- .local/bin/theme/get-gradient | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 .local/bin/theme/get-gradient (limited to '.local/bin/theme/get-gradient') diff --git a/.local/bin/theme/get-gradient b/.local/bin/theme/get-gradient deleted file mode 100755 index 91f9391..0000000 --- a/.local/bin/theme/get-gradient +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# Gets and sets a color gradient for cava - -start="$1" -end="$2" -colors=$(~/.local/bin/theme/gradient.py $start $end 7) - -num=1 -path="$HOME/.config/cava/config" -for color in $colors; do - sed -i "s/gradient_color_$num.*$/gradient_color_$num = '$color'/" $path - num=$((num+1)) -done -- cgit v1.2.3