From 54920103c2843f5a3620effbccaceaee7f6885c1 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 18 May 2019 00:07:32 -0400 Subject: scripts moved to ~/.local/bin --- .scripts/statusbar/iplocate | 9 --------- 1 file changed, 9 deletions(-) delete mode 100755 .scripts/statusbar/iplocate (limited to '.scripts/statusbar/iplocate') diff --git a/.scripts/statusbar/iplocate b/.scripts/statusbar/iplocate deleted file mode 100755 index 4ca4f10..0000000 --- a/.scripts/statusbar/iplocate +++ /dev/null @@ -1,9 +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 "geoiplookup" || exit -addr="$(curl ifconfig.me 2>/dev/null)" || exit -grep "flag: " ~/.config/emoji | grep "$(geoiplookup $addr | sed 's/.*, //')" | sed "s/flag: //;s/;.*//" -- cgit v1.3.1