+ tmux-ip-address plugin with custom hand made fixes about remove beep x07 symbol (represented as \a from ip address values) from status-right bar

This commit is contained in:
2024-10-16 12:39:03 +03:00
parent d69b7bbcf5
commit 05823efcb7
7 changed files with 191 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_DIR/helpers.sh"
print_ip_address() {
local ip_address=$(curl --max-time 1.5 --silent http://ip.me)
echo ${ip_address}
}
main() {
print_ip_address
}
main