From 21c6c1fcc85eca37c7c8b75dc3317d479ce857b1 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Mon, 21 Oct 2019 19:47:15 +0100 Subject: Added bluetooth icon --- modules/bluetooth | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 modules/bluetooth diff --git a/modules/bluetooth b/modules/bluetooth new file mode 100755 index 0000000..e342d5f --- /dev/null +++ b/modules/bluetooth @@ -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 +} -- cgit v1.2.3