chore: Use 100% as the set volume

This commit is contained in:
Kyle Gospodnetich 2024-07-13 15:26:07 -07:00
parent 334fd18f34
commit 9fa5daced3

View File

@ -18,7 +18,7 @@ BAZZITE_CONFIG_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/bazzite"
mkdir -p "$BAZZITE_CONFIG_DIR"
# SCRIPT VERSION
USER_SETUP_VER=41
USER_SETUP_VER=42
USER_SETUP_VER_FILE="$BAZZITE_CONFIG_DIR/version"
USER_SETUP_FEDORA_VER_FILE="$BAZZITE_CONFIG_DIR/fedora_version"
USER_SETUP_IMAGE_VER_FILE=$BAZZITE_CONFIG_DIR/image_name""
@ -215,7 +215,7 @@ wp_audio_sinks() {
}
if [[ ":83E1:ROG Ally RC71L:" =~ ":$SYS_ID:" ]]; then
wpctl set-volume $(wp_audio_sinks | grep "17h/19h" | sed 's@^[^0-9]*\([0-9]\+\).*@\1@') 100 || true
wpctl set-volume $(wp_audio_sinks | grep "17h/19h" | sed 's@^[^0-9]*\([0-9]\+\).*@\1@') 100% || true
fi
# Prevent future executions