Skip to content

Commit

Permalink
added the #{wan_ip_v4} and #{wan_ip_v6} custom variable examples, res…
Browse files Browse the repository at this point in the history
…olves gpakosz#281
  • Loading branch information
gpakosz committed Jan 21, 2024
1 parent eca5fb6 commit b70400e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .tmux.conf.local
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,16 @@ tmux_conf_uninstall_plugins_on_reload=true
# ping -c 1 1.1.1.1 >/dev/null 2>&1 && printf '✔' || printf '✘'
# }
#
# wan_ip_v4() {
# curl -f -s -m 2 -4 ifconfig.me
# sleep 300 # sleep for 5 minutes, throttle network requests whatever the value of status-interval
# }
#
# wan_ip_v6() {
# curl -f -s -m 2 -6 ifconfig.me
# sleep 300 # sleep for 5 minutes, throttle network requests whatever the value of status-interval
# }
#
# "$@"
# # /!\ do not remove the previous line
# # do not write below this line

0 comments on commit b70400e

Please sign in to comment.