diff --git a/dot_config/polybar/scripts/executable_polybar_bluetooth_speaker.sh b/dot_config/polybar/scripts/executable_polybar_bluetooth_speaker.sh index 7cc5f4b..3cc2943 100644 --- a/dot_config/polybar/scripts/executable_polybar_bluetooth_speaker.sh +++ b/dot_config/polybar/scripts/executable_polybar_bluetooth_speaker.sh @@ -10,7 +10,8 @@ source colors.sh bluetooth_speaker() { - SPEAKER_CONNECTED=$(bt-device -i 78:44:05:F6:E9:15 | grep Connected | xargs | cut -d ' ' -f 2) + BT_DEVICE="1C:E6:1D:EF:0A:76" + SPEAKER_CONNECTED=$(bt-device -i $BT_DEVICE | grep Connected | xargs | cut -d ' ' -f 2) if [ "$SPEAKER_CONNECTED" -eq 1 ]; then speaker_indicator="${faded_green}юда${RESET}" else diff --git a/run_once_prepare_arch.sh.tmpl b/run_once_prepare_arch.sh.tmpl index aefd179..cbe9c30 100644 --- a/run_once_prepare_arch.sh.tmpl +++ b/run_once_prepare_arch.sh.tmpl @@ -1,4 +1,4 @@ {{ if eq .chezmoi.osRelease.idLike "arch" }} #!/bin/bash -sudo pacman -S picom i3-gaps polybar dunst dmenu i3lock yay --noconfirm +sudo pacman -S picom i3-gaps polybar dunst dmenu i3lock bluez-tools tmux yay --noconfirm {{ end }}