Start volume a bit quieter and increment more slowly.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user