If you’re not distracted enough by your cryptocurrency investments as it is, here’s a little thing for you if you have a MacBook Pro with Touch Bar.

Let’s make a ticker for your coins.

It takes a little bit of fidgeting, but it’ll be all worth it in the end to be able to see the price of your investments rise directly above your keyboard. Or, as in my case above, fall into a seemingly bottomless pit. HODL!

First of all, we’ll be using AppleScript for this magic, and we’ll get the current ticker price from CoinMarketCap. As AppleScript sucks notoriously with JSON, we’ll use a little helper tool from the Mac App Store called JSON Helper for AppleScript, so go ahead and install that now.

The main part of the equation is an app called BetterTouchTool. It’s an insanely awesome piece of software that has a stunning amount of features, but the prominent ones are adding custom gestures to your trackpad and mouse, and, as you’ll see, actually putting your Touch Bar to practical use.

After you’ve installed BetterTouchTool, run it, go to the TouchBar tab (1)and click the + Widget button (2). Next, in the Select Widget drop down (3) select Run Apple Script and Show Value, and then click Advanced configuration (4).