mirror of
https://github.com/Fluffy-Bean/dots.git
synced 2025-07-05 15:06:21 +00:00
8 lines
145 B
Bash
Executable file
8 lines
145 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
|
|
then
|
|
bluetoothctl power on
|
|
else
|
|
bluetoothctl power off
|
|
fi
|