⚡ move ~/bin to ~/.local/bin
This commit is contained in:
6
.local/bin/§bluetooth-toggle.sh
Executable file
6
.local/bin/§bluetooth-toggle.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
if bluetoothctl show | grep -q 'Powered: no'; then
|
||||
bluetoothctl power on
|
||||
else
|
||||
bluetoothctl power off
|
||||
fi
|
Reference in New Issue
Block a user