mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Adding bluetooth toggle scripts
This commit is contained in:
parent
44a4c3ae8e
commit
a2a15d07af
@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
|
||||
then
|
||||
echo "%{F#66ffffff}"
|
||||
else
|
||||
if [ $(echo info | bluetoothctl | grep 'Device' | wc -c) -eq 0 ]
|
||||
then
|
||||
echo ""
|
||||
fi
|
||||
echo "%{F#2193ff}"
|
||||
fi
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
|
||||
then
|
||||
bluetoothctl power on
|
||||
else
|
||||
bluetoothctl power off
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user