Lower set interval to reduce CPU load

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-03-27 21:05:51 +01:00
parent cd59a27247
commit f5c3a403b4
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -4,7 +4,7 @@ After=pulseaudio.service
Requires=pulseaudio.service Requires=pulseaudio.service
[Service] [Service]
ExecStart=/usr/bin/bash -e -c 'while true; do pactl set-source-volume @DEFAULT_SOURCE@ %i%; sleep 0.1; done' ExecStart=/usr/bin/bash -e -c 'while true; do pactl set-source-volume @DEFAULT_SOURCE@ %i%; sleep 0.5; done'
[Install] [Install]
WantedBy=default.target WantedBy=default.target