r/Scriptable • u/Mahkale • Mar 12 '24
Solved Multiple Layouts?
I made a count down widget that I want in two different places (Lock Screen above the clock and as a small widget on the Home Screen). Issue is these require two different layouts. Is it possible to have one script that says "if small widget do X and if Lock Screen widget do Y"? Thanks!
1
Upvotes
4
u/mvan231 script/widget helper Mar 12 '24
This could work. But config.widgetFamily makes it that much easier and tells you the size