Update Widget Switcher script
This commit is contained in:
@@ -9,8 +9,6 @@ prefs._name = "widgets"
|
|||||||
|
|
||||||
local pos = 0
|
local pos = 0
|
||||||
local color = aio:colors()
|
local color = aio:colors()
|
||||||
local enabled_color = "#1976d2"
|
|
||||||
local disabled_color = aio:colors().button
|
|
||||||
local buttons,colors = {},{}
|
local buttons,colors = {},{}
|
||||||
|
|
||||||
function on_alarm()
|
function on_alarm()
|
||||||
@@ -77,6 +75,8 @@ function get_indexes(tab1,tab2)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function get_buttons()
|
function get_buttons()
|
||||||
|
local enabled_color = aio:colors().progress_good
|
||||||
|
local disabled_color = aio:colors().button
|
||||||
buttons,colors = {},{}
|
buttons,colors = {},{}
|
||||||
for i,v in ipairs(indexes) do
|
for i,v in ipairs(indexes) do
|
||||||
table.insert(buttons, "fa:" .. widgets.icon[v])
|
table.insert(buttons, "fa:" .. widgets.icon[v])
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
ddadeb63256e4e14a7f89bbe6a0c2c17
|
f479d227b90a6f98f309841cdcce9f38
|
||||||
|
|||||||
BIN
scripts.zip
BIN
scripts.zip
Binary file not shown.
Reference in New Issue
Block a user