Article 53WTM i3bar i3block refresh

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 Thumbnailsattachment.php?attachmentid=33267&stc=1& attachment.php?attachmentid=33268&stc=1& latest?d=yIl2AUoC8zA latest?i=PyZg0s16lGc:bH6TZCY1iDY:F7zBnMy latest?i=PyZg0s16lGc:bH6TZCY1iDY:V_sGLiP latest?d=qj6IDK7rITs latest?i=PyZg0s16lGc:bH6TZCY1iDY:gIN9vFwPyZg0s16lGc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments