add i3 and polybar conf, add new rofi logout screen
This commit is contained in:
10
polybar/scripts/bluetooth_toogle.sh
Executable file
10
polybar/scripts/bluetooth_toogle.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
STATE=$(bluetoothctl show | grep Powered)
|
||||
|
||||
if [[ $STATE == *"yes" ]]
|
||||
then
|
||||
echo $(bluetoothctl power off)
|
||||
else
|
||||
echo $(bluetoothctl power on)
|
||||
fi
|
||||
Reference in New Issue
Block a user