zobnin / aiolauncher_scripts

Scripts for the AIO Launcher
https://aiolauncher.app
86 stars 20 forks source link

Add Public IP Search Function #2

Closed sriramsv closed 2 years ago

sriramsv commented 2 years ago

Add ability to get public IP by search function

This is useful as sometimes we just want to copy the Public IP for some use cases and not really intend to have it as a widget on the home screen

zobnin commented 2 years ago

Good script, thank you. Would you just make two corrections for consistency:

  1. The name of the search scripts is displayed as a title in the search results, so the word "search" at the end would be superfluous.

  2. When matching strings, it's better not to just look for "ip" in search string, but to look for "^ip$" pattern, so script will react only to "ip" and not to "script" or "iphone".