cfg/.config/systemd/user/source-volume@.service
Knut Ahlers f5c3a403b4
Lower set interval to reduce CPU load
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-27 21:07:34 +01:00

10 lines
286 B
Desktop File

[Unit]
Description=Forces volume to stay at a level despite browser objecting
After=pulseaudio.service
Requires=pulseaudio.service
[Service]
ExecStart=/usr/bin/bash -e -c 'while true; do pactl set-source-volume @DEFAULT_SOURCE@ %i%; sleep 0.5; done'
[Install]
WantedBy=default.target