diff options
-rwxr-xr-x | .scripts/bts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.scripts/bts b/.scripts/bts index 9722fce..445bdcb 100755 --- a/.scripts/bts +++ b/.scripts/bts @@ -26,8 +26,8 @@ case $option in esac;; "Disconnect") bluetoothctl power off && sudo -A systemctl stop bluetooth - dunstify "Disconnected" "Bluetooth Device is disconnected" || - dunstify "Unable to disconnect!" ;; + dunstify "Disconnected" "Bluetooth Device is disconnected" -i bluetoothb || + dunstify "Unable to disconnect!" -i bluetooth ;; "Change profile") past_profile=$(pactl list | grep "Active Profile" | sed '2p;d' | cut -d ' ' -f 3) profile=$(echo -e "a2dp_sink(pure audio output)\nhandsfree_head_unit(inferior audio output + mic enable)" | tofi --prompt-text "Choose the profile for your sound card") @@ -36,10 +36,10 @@ case $option in case $profile in "a2dp_sink(pure audio output)") pactl set-card-profile $cardindex a2dp-sink && - dunstify "Switched card profile" "from $past_profile to $profile" -i audio-headphones;; + dunstify "Switched card profile" "from $past_profile to $profile" -i audio-headphones ;; "handsfree_head_unit(inferior audio output + mic enable)") pactl set-card-profile $cardindex headset-head-unit && - dunstify "Switched card profile" "from $past_profile to $profile" -i audio-headset;; + dunstify "Switched card profile" "from $past_profile to $profile" -i audio-headset ;; esac;; "Reset pipewire") systemctl --user restart wireplumber pipewire pipewire-pulse |