diff options
| author | ivan-boikov <ik.boikov.public@protonmail.com> | 2022-07-14 23:51:06 +0200 |
|---|---|---|
| committer | ivan-boikov <ik.boikov.public@protonmail.com> | 2022-07-14 23:51:06 +0200 |
| commit | 47eb75b4250badd24b3137f77bf237e6f0570b15 (patch) | |
| tree | 3ea591e70b3e5f6e9a4dd7005904d9226f1b6891 /scripts/.local/bin/statusbar/sb-iplocate | |
| parent | 919fe5982b47278ef34a30d3b08af41e1ddd1b11 (diff) | |
1
Diffstat (limited to 'scripts/.local/bin/statusbar/sb-iplocate')
| -rwxr-xr-x | scripts/.local/bin/statusbar/sb-iplocate | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/.local/bin/statusbar/sb-iplocate b/scripts/.local/bin/statusbar/sb-iplocate deleted file mode 100755 index ab89ffd..0000000 --- a/scripts/.local/bin/statusbar/sb-iplocate +++ /dev/null @@ -1,17 +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 "geoip" || exit -#addr="$(curl ifconfig.me 2>/dev/null)" || exit -#grep "flag: " "${XDG_DATA_HOME:-$HOME/.local/share}/larbs/emoji" | grep "$(geoiplookup "$addr" | sed 's/.*, //')" | sed "s/flag: //;s/;.*//" - -locaddr=$(hostname -i | awk '{print $1}') -echo $locaddr - -case $BLOCK_BUTTON in - 1) notify-send "$(curl ifconfig.me 2>/dev/null)" -esac |
