diff --git a/client/Makefile b/client/Makefile index 38c14df..9fccd30 100644 --- a/client/Makefile +++ b/client/Makefile @@ -1,2 +1,3 @@ install : - cp client.py /bin/lc + cp client.py /bin/lc; mkdir -p /etc/lc; cp cava.conf /etc/lc/cava.conf; sudo chmod 666 /etc/lc/cava.conf + diff --git a/client/cava.conf b/client/cava.conf index 415f748..46c7773 100644 --- a/client/cava.conf +++ b/client/cava.conf @@ -112,7 +112,7 @@ foreground = red # Percentage value for integral smoothing. Takes values from 0 - 100. # Higher values means smoother, but less precise. 0 to disable. -integral = 5 +integral = 1 # Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable. monstercat = 1 diff --git a/client/client.py b/client/client.py index 024108a..b065038 100755 --- a/client/client.py +++ b/client/client.py @@ -37,7 +37,7 @@ def helpmenu(): print("-v visualizer") def visualizer(color): - cava = subprocess.Popen(["cava", "-p", "./cava.conf"], stdout=subprocess.PIPE) + cava = subprocess.Popen(["cava", "-p", "/etc/lc/cava.conf"], stdout=subprocess.PIPE) sed = subprocess.Popen(["sed", "-u", "s/;.*;$//"], stdin=cava.stdout, stdout=subprocess.PIPE) #subprocess.Popen([sys.argv[0]], stdin=sed.stdout, shell=False) for line in sed.stdout: