Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions on Weather button? #468

Open
mariano-daniel opened this issue Apr 4, 2024 · 0 comments
Open

Actions on Weather button? #468

mariano-daniel opened this issue Apr 4, 2024 · 0 comments

Comments

@mariano-daniel
Copy link

I'm having issues setting up an action on tap for weather button. I'm testing the following code:


  {
    "type": "weather",
    "align": "right",
    "refreshInterval": 300, // in seconds
    "icon_type": "images",
    "api_key": "ca93a0bb8cdb428552660d83249e4bc9",
    "bordered": false

    "actions": [
{
  "trigger": "singleTap",
  "action": "appleScript",
      "actionAppleScript": {"inline": "activate application \"Spotify\""},

}
]
},

But for some reason that crashes the weather button. My idea is to trim the apple script to show the Weather widget (two finger right slide) afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant