From 0ed5cca3146fa1fb1182ae763335f4e1d439d453 Mon Sep 17 00:00:00 2001 From: Sam Erickson Date: Fri, 5 Apr 2019 17:42:42 -0700 Subject: [PATCH] Fixed typos --- .scripts/statusbar/locate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.scripts/statusbar/locate b/.scripts/statusbar/locate index 934d4c4c..96e2e865 100755 --- a/.scripts/statusbar/locate +++ b/.scripts/statusbar/locate @@ -1,4 +1,4 @@ -#/bin/bash +#!/bin/bash # Gets your public ip address checks which country you are in and # displays that information in the statusbar @@ -8,7 +8,7 @@ # # curl https://samerickson.me/files/flag-emojis > ~/.local/share/flag-emojis # -ifinstalled "$geoiplookup" || exit +ifinstalled "geoiplookup" || exit addr="$(curl ifconfig.me 2>/dev/null)" country="$(geoiplookup $addr | awk '{print $5}')" printf "%s" "$(sed -n /$country/p ~/.local/share/larbs/flag-emojis)"