diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 16:50:33 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 16:50:33 -0400 |
| commit | f93cd463a17ce73adeb1f56a57f211690a6c13b1 (patch) | |
| tree | 2c84b7197ccc2f6c7862653993c276c660946256 /.local/bin/statusbar/iplocate | |
| parent | f68f3119c1da3c6229c0c26e41b60f20ce7bc84a (diff) | |
| parent | bcbfd066cf90cd5aa83225d468680473b8f66ad6 (diff) | |
| download | eibhear-f93cd463a17ce73adeb1f56a57f211690a6c13b1.tar.gz eibhear-f93cd463a17ce73adeb1f56a57f211690a6c13b1.tar.zst eibhear-f93cd463a17ce73adeb1f56a57f211690a6c13b1.zip | |
Merge branch 'xdgify' of https://github.com/dennisleexyz/dotfiles into dennisleexyz-xdgify
Diffstat (limited to '.local/bin/statusbar/iplocate')
| -rwxr-xr-x | .local/bin/statusbar/iplocate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/iplocate b/.local/bin/statusbar/iplocate index 4ca4f10..6d1038c 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/emoji | grep "$(geoiplookup $addr | sed 's/.*, //')" | sed "s/flag: //;s/;.*//" |
