aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bluetooth
blob: 5dea2b01561fa4a539aa7e79a125c75ef9a03b3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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