dwm and dwmbar
This commit is contained in:
1 parent
307448edd3
commit
135fe92331
50 files changed
+1846
No files matched your search
Executable
+21
@@ -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
|
||||
Reference in new issue
Block a user