cfg/.config/systemd/user/source-volume@.service
Knut Ahlers 51b1129ffb
Add unit to force source volume to level
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-11-04 22:52:41 +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.1; done'
[Install]
WantedBy=default.target