mirror of
https://github.com/Fluffy-Bean/dots.git
synced 2025-05-28 22:33:11 +00:00
I hate this
This commit is contained in:
parent
a9846b4ecd
commit
8c7569868d
416 changed files with 1549 additions and 208 deletions
8
configs/eww/scripts/toggle_bluetooth
Executable file
8
configs/eww/scripts/toggle_bluetooth
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
|
||||
then
|
||||
bluetoothctl power on
|
||||
else
|
||||
bluetoothctl power off
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue