add global cava.conf
This commit is contained in:
parent
1c9ae5f083
commit
25b10a935d
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user