moar new computer
This commit is contained in:
parent
f23e8f5e65
commit
0a9ca8b889
6 changed files with 49 additions and 60 deletions
|
@ -30,7 +30,7 @@ try:
|
|||
|
||||
if line.startswith('volume:'):
|
||||
for speaker, absolute, percent in findall('([a-z-]+):\W+([0-9]+)\W+\/\W+([0-9]+)%', line):
|
||||
if int(percent) < 100:
|
||||
if int(percent) > 3 and int(percent) < 100:
|
||||
print(f' sink {sink_id} speaker {speaker} at {percent} % volume', flush=True)
|
||||
needs_adjusting = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue