diff --git a/community/play-store-search.lua b/community/play-store-search.lua new file mode 100644 index 0000000..4d2d14b --- /dev/null +++ b/community/play-store-search.lua @@ -0,0 +1,25 @@ +-- name = "Play Store" +-- description = "Search anything in playstore app" +-- data_source = "internal" +-- type = "search" +-- author = "Sriram SV" +-- version = "1.0" +-- prefix = "playstore|play|appstore|store" + +text_from = "" +text_to = "" + +local md_color = require "md_colors" +local green = md_colors.green_600 + +function on_search(input) + text_from = input + text_to = "" + search:show({input},{green}) +end + +function on_click(idx) + system:open_browser("https://play.google.com/store/search?q="..text_from) +end + +