Update dot_config/polybar/scripts/executable_polybar_bluetooth_speaker.sh
Update run_once_prepare_arch.sh.tmpl
This commit is contained in:
parent
3800a22234
commit
f6fb8f59c0
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue