summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/iplocate
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-08 17:22:15 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-08 17:22:15 -0400
commit0948cd95f3dec7694186fb4fbe31a3c46289f7a0 (patch)
treef6a04c7eabbad04e7c11b3da8e683e69b9df5da2 /.local/bin/statusbar/iplocate
parentf68f3119c1da3c6229c0c26e41b60f20ce7bc84a (diff)
parent422d106fbab5505f3810fa845f4f71547c7a4332 (diff)
downloadeibhear-0948cd95f3dec7694186fb4fbe31a3c46289f7a0.tar.gz
eibhear-0948cd95f3dec7694186fb4fbe31a3c46289f7a0.tar.zst
eibhear-0948cd95f3dec7694186fb4fbe31a3c46289f7a0.zip
Merge branch 'dennisleexyz-xdgify'
Diffstat (limited to '.local/bin/statusbar/iplocate')
-rwxr-xr-x.local/bin/statusbar/iplocate2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/iplocate b/.local/bin/statusbar/iplocate
index 4ca4f10..2f1b08b 100755
--- a/.local/bin/statusbar/iplocate
+++ b/.local/bin/statusbar/iplocate
@@ -6,4 +6,4 @@
# 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/;.*//"
+grep "flag: " ${XDG_CONFIG_HOME:$HOME/.config}/emoji | grep "$(geoiplookup $addr | sed 's/.*, //')" | sed "s/flag: //;s/;.*//"