mirror of
https://github.com/Fluffy-Bean/dots.git
synced 2025-05-18 01:15:00 +00:00
Polybar Mic button and cleaning up code
This commit is contained in:
parent
3b2fca577a
commit
54b578567c
7 changed files with 44 additions and 9 deletions
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
|
||||
|
||||
value=$(bluetoothctl show | grep "Powered: yes" | wc -c)
|
||||
|
||||
if [ "$value" == 0 ]
|
||||
then
|
||||
bluetoothctl power on
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue