From ded2e2c86a19a5376734de9521c9dad808293440 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Fri, 15 Dec 2023 15:08:16 +0530 Subject: .scripts: bts - using icons for dunst --- .scripts/bts | 8 ++++---- 1 file 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 -- cgit v1.2.3