Kustom Kodes

I have a few codes I use that I want to share. Most of these I've found on the web. Thank you to everyone who shares so we can all utilize them.
 
_______________________________________________________________

One way to get extracted colors from album art. You can change the muted to dmuted, dvibrant, etc.

 $if(bp(muted,mi(cover))="",bp(vibrant,mi(cover)),bp(muted,mi(cover)))$

To add alpha to that

$if(bp(muted,mi(cover))="",bp(vibrant,mi(cover)),ce(bp(muted,mi(cover)),alpha,gv(alpha1)))$
_________________________________________________________________________

SHOW EVENT LOCATION

 $if(ci(loc, 0)!="","https://www.google.com/maps/search/?api=1&query="+ci(loc, 0))$
_________________________________________________________________________

This one will open maps, input your current address and the address of the event straight into navigation

$if(ci(loc, 0)!="","https://www.google.com/maps/dir/?api=1&origin="+li(addr)+" "+li(loc)+"&destination="+ci(loc, 0)&travelmode=driving)$

_____________________________________________________________________

To change icons in the fonticon sets in Kustom. Open the komponent to where you see the settings (icon, Nightico, Color, etc.) At the top click on the lock to unlock it. Click on the fonticon and you will see the Icon is a formula. If you look at the formula the icons are named the icon name. Look inside the set for the moon you want and then change the name in the formula. Meteo only has one other moon called Moonstars but using that formula you could choose another set and change the icon names. Now back out until you see the lock on top and lock it again and you are done.

_____________________________________________________________________

Blur edge of shape

Create a Circle shape inside an overlap group
PAINT - Color: 00FFFFFF
FX - Texture: Bitmap - Pick your Image Shadow:
Outer Blur:100 Direction:0 Distance:1
Color:F7000000
POSITION: Padding of 50 to all sided

____________________________________________________________________


If you want to open your weather to Google Weather on touch select Open Link and put this in the url
dynact://velour/weather/ProxyActivity

____________________________________________________________________


To do a global for outer shadow you can set it up using something like this.


$if(gv(global name), outer, none)$
 
______________________________________________________________


Christmas Countdown

$tf(12M25d 0h 0m,D'd 'h'h' mm'm)$

____________________________________________________________________


RSS Feed thumb

$tc(reg(wg("http://feeds.reuters.com/Reuters/worldNews", url, ".jp|.pn|.bm", 0),"jpg[?].*.","jpg"))$

____________________________________________________________________

Popular Posts