Add dotfiles
This commit is contained in:
parent
49bfe1a4d3
commit
b6e01a720b
52 changed files with 4701 additions and 0 deletions
21
dwmbar/modules/bluetooth
Executable file
21
dwmbar/modules/bluetooth
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/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 "$BLUETOOTH_ON_ICON"
|
||||
else
|
||||
:
|
||||
#echo "$BLUETOOTH_OFF_ICON"
|
||||
fi
|
||||
}
|
||||
|
||||
get_bluetooth
|
Loading…
Add table
Add a link
Reference in a new issue