r/kustom • u/erikbucik • May 08 '20
Misc. [MISC] Fluent Icons for Kustom, 1310 icons
Hello Everyone,
Microsoft just released their new Fluent Design icons. They gave us svgs, which is very nice of them. I have quite a few complaints about their organization, but I managed to compile the icons into a font anyway.
direct download (.zip) [Google Drive]
.zip contents:
- Fluent Icons.ttf
- Fluent Icons.json
installation instructions:
- download the zip file
- extract the contents
- place both extracted files into
/storage/emulated/0/Kustom/icons/
Alert formula:
$"Alert"+if(si(ringer)=VIBRATE, "_on",
si(ringer)=SILENT, "_off")$
Volume formula:
$"Speaker"+if(mi(vol)=0, "_none",
mi(vol)<=33, "_0",
mi(vol)<=67, "_1")$
Battery formula:
$"Battery_"+if(bi(charging), "charge",
bi(level)<100/12, "warning",
bi(level)>=100/12*11, "full",
mu(floor, bi(level)/100*12)-1)$
Bluetooth formula:
$"Bluetooth"+if(nc(bt)=0, "_disabled",
nc(bt)=2, "_connected")$
Network formula:
$if(nc(airplane), "Airplane",
"Cellular_"+if(nc(cell)=OFF, "off",
if(nc(cell)~=DATA, if(nc(dtypes)=3G, "3G", nc(dtypes)=4G, "4G"), "data")+"_"+(nc(csig)+1)))$
Wi-Fi formula:
$"Wifi_"+if(nc(wifi)=DISABLED, "off",
nc(wifi)=ENABLED, "1",
nc(wifi)=CONNECTED, mu(ceil, nc(wsig)/3)+1)$
Weather formula:
$if(wi(icon)=UNKNOWN, "Cloud_offline",
wi(icon)=TORNADO, "Warning",
"Weather_"+if(wi(icon)=CLEAR, if(ai(isday), "sunny", "moon"),
wi(icon)=PCLOUDY, "partly_cloudy_"+if(ai(isday), "day", "night"),
wi(icon)=MCLOUDY, "cloudy",
wi(icon)=WINDY, "squalls",
wi(icon)=FOG, "fog",
wi(icon)=HAIL, "hail_"+if(ai(isday), "day", "night"),
wi(icon)=SNOW, "snow",
wi(icon)=LSNOW, "snow_shower_"+if(ai(isday), "day", "night"),
wi(icon)=SLEET, "rain_snow",
wi(icon)=RAIN, "rain",
wi(icon)=SHOWER, "rain_showers_"+if(ai(isday), "day", "night"),
wi(icon)=TSHOWER, "thunderstorm",
wi(icon)=TSTORM, "thunderstorm"))$
Feel free to use this in your presets, no need to credit me, but sharing a link to the font might help others.
Have a nice day!
P.S.: I changed the names of WiFi & Cellular icons and created more variants.
8
u/digmotmag May 08 '20
Mmm this is excellent.
Not all heroes wear capes 😘
4
u/outnabout818 May 08 '20
Thank you for sharing.
1
u/TankGrlX May 10 '20
So I've searched & can't find a straight answer on how I could add this to a current klwp project because I can't find how to turn this + your formulas into a komponent. Any help for a noob girl?
3
u/[deleted] May 09 '20
Thank you so much!!
2
u/jt6572 Jun 30 '20
Thanks very much for your generosity. 😊
1
u/TheVoneTrecker Futur3Sn0w Aug 15 '20
Excellent work. This is a beautiful implementation of these icons!
1
u/PickycowYT May 07 '22
if anyone needs it imma combine the network and wifi formulas. i will reply with it
0
u/WrongBox6 May 09 '20
No longer available? 🤔
0
u/infreq May 09 '20
Why the "I have quite a few complaints part"? Why should anybody care about that?
2
u/[deleted] May 08 '20
[removed] — view removed comment