i3 eternally btfo

This commit is contained in:
Luke Smith
2019-05-18 16:22:57 -04:00
parent 67f70d70bb
commit 8117f84198
24 changed files with 0 additions and 611 deletions

View File

@@ -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/;.*//"