See the live Monero price on your Mac menu bar
4 stars based on
49 reviews
I am using the i3 Window Manager and the conky system monitor in order to show various interesting stats on the system tray. This is a short post to showcase how this can be achieved and specifically to show how we can also add price tickers for your favorite crypto coins on the system tray. I will assume that the reader is using i3 and is familiar with its setup process. If you are not using i3 that is also ubuntu bitcoin ticker since conky can send and display information either in pure text form which we will use from ubuntu bitcoin ticker or using simple progress bars and graph widgets, with different fonts and colours.
Check the conky user configuration wiki for more information, examples and screenshots. Essentially this sets the font to be used inside the i3-bar and also specifies a script to run that populates the contents of the bar.
Pasted above you can see the contents of ubuntu bitcoin ticker conkyrc file I am using. The important part to customize is the JSON for the i3-bar section. Essentially conky displays the contents of the map we are showing above. In the snippet above you should keep entries only if you are interested in them.
You ubuntu bitcoin ticker replace eno1 and wlan0 with the name of your LAN and wireless interface respectively. All of the above will be updated every 2 seconds, except for the entries which have execi in front. Those allow the user to set the amount of seconds to be used as an interval between executions for that specific conky entry. In order to add a crypto price ticker to conkyrc, first we have to get the data from somewhere. For this example we will be using the well known ubuntu bitcoin ticker site kraken and its API.
For example by going to https: Below you can see an example:. To learn what all the different values mean you can consult the API page linked above and you will see this explanatory table:. In order to add a price ticker we probably want the last closed trade. From the above example we need to extract " And due to the way conkyrc expects its entries, this operation should be an one-liner. Using some awesome console magic we can avoid requiring any extra packages.
We can achieve this by simply using curl and grep. The end result is a very nicely looking price ticker on the system monitor as we can see in the picture below. The example above used Ether and Ubuntu bitcoin ticker. Note that conky also accepts unicode and as such we are using the unicode symbols for both cryptocurrencies and Euro. We explored how to customize the ubuntu bitcoin ticker tray of a Linux machine using conky and giving a concrete example with the i3-bar. How do you use the system tray in your setup?
Do you also use conky? Got any cool scripts or screenshots to show? Got any feedback for the method outlined in this post? After graduating from ubuntu bitcoin ticker University of Tokyo, Lefteris has been developing backend software for various companies including Oracle and Ubuntu bitcoin ticker.
He is an all-around tinkerer who loves ubuntu bitcoin ticker takes things apart and put them back together learning how they work in the process.
He feels at home with C code and GDB. Additionally he is the tech lead of slock. Here is something different: Your email address will not be published. Notify me of follow-up comments by email. Notify me of new posts by email.
Configuration I will assume that the reader is using i3 and is familiar with its setup process. Set to zero to run forever. The ubuntu bitcoin ticker is one of up, link or address, to check for the interface being solely up, being up and having link or being up, having link and ubuntu bitcoin ticker assigned IP address.
This only affects certain objects. Adding a Crypto Price Ticker to conkyrc In order to add a crypto price ticker to conkyrc, first we have to get the data from somewhere. Below you can see an example: Conclusion We explored how to customize the system tray of a Linux machine using conky and giving a concrete example with the i3-bar.
Leave a Reply Cancel reply Your email address will not ubuntu bitcoin ticker published. System encryption with passphrase protected usb key.