Global variable from other widget

Is there any way to access global variable from other widget?

With KWGT alone, this is currently not possible. You can pull your variable from Tasker instead.

Moving this to the “ideas” forum as this is not possible yet but its a good idea still

as an alternative kompanion also can be used to save variables. it designed for kustom so it might be easier than tasker.

1 Like

I use a trick: a texte file in which I put tags.
For exemple “B135”
B for black, 1 for color 1, 35 for Alpha value.
WG and TC functions allow to get for all of my widgets the same values. However I don’t know how to change the tags from a widget, I do it from a text editor. I tried SH & Echo without success.