i3bar i3block refresh
by esteeven from LinuxQuestions.org on (#53WTM)
I have a short script that returns the country of my IP to display in my i3bar using i3blocks. The script uses curl to get the country code.
Attachment 33267
When the script refreshes, part of i3bar is blanked out for a few seconds.
Attachment 33268
I have no idea why this is so. The script is simply:
Code:#!bin/bash
curl 'ifconfig.co/country-iso'
Attached Thumbnails


Attachment 33267
When the script refreshes, part of i3bar is blanked out for a few seconds.
Attachment 33268
I have no idea why this is so. The script is simply:
Code:#!bin/bash
curl 'ifconfig.co/country-iso'
Attached Thumbnails