mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 06:50:14 +01:00
feat: adds rfkill commands as bluetooth apparently dies even more sometimes
This commit is contained in:
parent
d9b9208aa8
commit
dc7bf48ea5
1 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ unfuck_audio() {
|
|||
devices+=("$device")
|
||||
done
|
||||
systemctl --user restart wireplumber pipewire pipewire-pulse bluetooth
|
||||
rfkill block bluetooth
|
||||
rfkill unblock bluetooth
|
||||
bluetoothctl power off
|
||||
bluetoothctl power on
|
||||
for device in ${devices[*]}; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue