Update android widget dumper
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
-- name = "Android widgets dumper"
|
||||
-- foldable = false
|
||||
|
||||
-- Place app package name with widget here
|
||||
app_pkg = "com.weather.Weather"
|
||||
app_pkg = "com.google.android.googlequicksearchbox"
|
||||
--app_pkg = "com.weather.Weather"
|
||||
--app_pkg = "com.google.android.apps.tasks"
|
||||
--app_pkg = "com.android.chrome"
|
||||
--app_pkg = "com.whatsapp"
|
||||
|
||||
-- Widget size (string from "1x1" to "4x4")
|
||||
-- In most cases you can use nil
|
||||
widget_size = nil
|
||||
widget_size = "4x1"
|
||||
|
||||
-- Globals
|
||||
labels = {}
|
||||
@@ -32,7 +34,7 @@ function on_resume()
|
||||
if wid < 0 then
|
||||
ui:show_lines(labels)
|
||||
else
|
||||
widgets:request_updates(wid)
|
||||
widgets:request_updates(wid, widget_size)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user