From e12948c44a8d6ab9f7a817041590b31fa0111e2f Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Sat, 9 May 2020 23:51:31 -0500 Subject: [PATCH] Delete iplocate --- .local/bin/statusbar/iplocate | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 .local/bin/statusbar/iplocate diff --git a/.local/bin/statusbar/iplocate b/.local/bin/statusbar/iplocate deleted file mode 100755 index 02adab8d..00000000 --- a/.local/bin/statusbar/iplocate +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# Gets your public ip address checks which country you are in and -# displays that information in the statusbar -# -# https://www.maketecheasier.com/ip-address-geolocation-lookups-linux/ - -ifinstalled "geoip" || exit -addr="$(curl ifconfig.me 2>/dev/null)" || exit -grep "flag: " "${XDG_DATA_HOME:-$HOME/.local/share}/larbs/emoji" | grep "$(geoiplookup "$addr" | sed 's/.*, //')" | sed "s/flag: //;s/;.*//"