Start volume a bit quieter and increment more slowly.

This commit is contained in:
Storm Dragon
2025-07-13 15:04:08 -04:00
parent 2a6a894e83
commit 5fb012965f

View File

@@ -11,7 +11,7 @@ if [[ -f ~/.firstboot ]]; then
# Wait for pipewire to become available
wait=0
volume=100
volume=50
while [[ $wait -lt 30 ]]; do
if pgrep pipewire &> /dev/null ; then
wait=30 # We don't want to continue the loop
@@ -25,7 +25,7 @@ if [[ -f ~/.firstboot ]]; then
if read -t4 ; then
break
else
((volume+=10))
((volume+=5))
fi
pactl set-sink-volume @DEFAULT_SINK@ "${volume}%"
done