mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-09 22:19:45 +00:00
Added bluetooth icon
This commit is contained in:
parent
1ae2767c7d
commit
21c6c1fcc8
1 changed files with 19 additions and 0 deletions
19
modules/bluetooth
Executable file
19
modules/bluetooth
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Prints out the bluetooth status
|
||||
|
||||
BLUETOOTH_ON_ICON=''
|
||||
BLUETOOTH_OFF_ICON=''
|
||||
|
||||
get_bluetooth()
|
||||
{
|
||||
status=$(systemctl is-active bluetooth.service)
|
||||
|
||||
if [ "$status" == "active" ]
|
||||
then
|
||||
echo ""
|
||||
else
|
||||
:
|
||||
#echo ""
|
||||
fi
|
||||
}
|
Loading…
Reference in a new issue