summaryrefslogtreecommitdiff
path: root/ar/.local/bin/statusbar/sb-iplocate
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-06-30 13:23:58 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-06-30 13:23:58 +0900
commite12062b85d42e5a76844b78fb4382e2bc277539a (patch)
tree1337179dca8be2ad5dc155874c8141cdd86c7052 /ar/.local/bin/statusbar/sb-iplocate
parente471cc5ba9527619f6680545481019195e6030c9 (diff)
deleted statusbar/sb-iplocate, modified statusbar/sb-price
Diffstat (limited to 'ar/.local/bin/statusbar/sb-iplocate')
-rwxr-xr-xar/.local/bin/statusbar/sb-iplocate15
1 files changed, 0 insertions, 15 deletions
diff --git a/ar/.local/bin/statusbar/sb-iplocate b/ar/.local/bin/statusbar/sb-iplocate
deleted file mode 100755
index d7a9349..0000000
--- a/ar/.local/bin/statusbar/sb-iplocate
+++ /dev/null
@@ -1,15 +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/
-
-set -e
-
-ifinstalled "geoip"
-addr="$(geoiplookup "$(curl -sfm 1 ifconfig.me 2>/dev/null)")"
-name="${addr##*, }"
-flag="$(grep "flag: $name" "${XDG_DATA_HOME:-${HOME}/.local/share}/thesiah/chars/emoji")"
-flag="${flag%% *}"
-printf "%s %s\\n" "$flag" "$name"