refactor(bluetooth): remove interval and timer thread

The timer thread was always reading the same value from Rfkill state.
This commit is contained in:
Aleksei Bavshin
2021-02-02 20:10:27 -08:00
parent ecc32ddd18
commit 52dd3d2446
3 changed files with 1 additions and 16 deletions

View File

@ -12,11 +12,6 @@ The *bluetooth* module displays information about the status of the device's blu
Addressed by *bluetooth*
*interval*: ++
typeof: integer ++
default: 60 ++
The interval in which the bluetooth state gets updated.
*format*: ++
typeof: string ++
default: *{icon}* ++
@ -88,7 +83,6 @@ Addressed by *bluetooth*
"bluetooth": {
"format": "{icon}",
"format-alt": "bluetooth: {status}",
"interval": 30,
"format-icons": {
"enabled": "",
"disabled": ""