From 4be840e8f6aa373658ad80036c98374c34bae76e Mon Sep 17 00:00:00 2001 From: Oscar Rodriguez Date: Fri, 15 May 2020 00:13:09 -0400 Subject: [PATCH] Oh-My-Tmux with ip addresses --- .tmux.conf.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf.local b/.tmux.conf.local index 53b94c7..331a7cb 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -180,7 +180,7 @@ tmux_conf_theme_right_separator_sub='|' # - #{username} # - #{username_ssh} tmux_conf_theme_status_left=' ❐ #S | ↑#{?uptime_y, #{uptime_y}y,}#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} ' -tmux_conf_theme_status_right='#{prefix}#{pairing}#{synchronized} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} ' +tmux_conf_theme_status_right='#{prefix}#{pairing}#{synchronized} |E>#(curl ifconfig.me) | W> #(ip addr show | grep inet | grep -v inet6 | grep wlan0 |grep -o ".* brd"| grep -oP "(\b([0-9]{1,3}\.){3}[0-9]{1,3}\b)") | L> #(ip addr show | grep inet | grep -v inet6 | grep eno1 |grep -o ".* brd"| grep -oP "(\b([0-9]{1,3}\.){3}[0-9]{1,3}\b)") | #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} | %R , %d %b | #{username}#{root} | #{hostname} ' # status left style tmux_conf_theme_status_left_fg='#000000,#e4e4e4,#e4e4e4' # black, white , white -- 2.25.1