How to set shortcut icon using bindings?

How to set shortcut icon using bindings?

Hi, I would like to change a shortcut icon using a variable. However I’m not sure which property to bind to and what value I would set the variable to? Maybe it would be easier to create multiple different shortcuts with the same shortcut but different icons. Then I could use the visibility property to show just one of them. That seems a bit complicated just to change a shortcuts icon though. Any ideas?

4 Commentsto How to set shortcut icon using bindings?

  1. William Beam says:

    I changed the icons for shortcuts to Lightning Launcher actions using Tasker; set up a task that starts the action(Plugin-Lightning Launcher-Lightning Launcher Action-[desired action]) and set the icon in Tasker.  In the launcher: add shortcut, task shortcut, select task.

  2. Chris Lee says:

    OK, I think you are talking about changing the icon of a task in Tasker so that the changes are then shown in Lightening. I know how to set the icon of a tasker task manually, but not via a Tasker task itself? I notice you can set a widget icon, which would sort of do the same.

  3. William Beam says:

    The task shortcut will use the icon that you assigned to the task.

  4. Chris Lee says:

    In the end I kept it simple. Rather than having a single shortcut that I change the icon. I just created multiple shortcuts with different icons for each variable state. Then I set visibility binding to whatever I want for each visible state$TaskerProfile1==”Work”. Because each shortcut has a different binding rule only one will be visible at any one time.

Leave a Reply

Your email address will not be published. Required fields are marked *