mirror of
https://github.com/Fluffy-Bean/dots.git
synced 2025-05-18 09:24:53 +00:00
Polybar update
This commit is contained in:
parent
17510f3bd3
commit
36f4585dfa
11 changed files with 222 additions and 195 deletions
7
polybar/scripts/toggle_bluetooth.sh
Executable file
7
polybar/scripts/toggle_bluetooth.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
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