Procházet zdrojové kódy

move wan IP to end of tmux status

Useful to have, but not information that needs to be in the main focus area.
Weiyi Lou před 13 roky
rodič
revize
2ada01ab8f

+ 0 - 8
tmux/tmux-powerline-custom/status-left.sh

@@ -44,14 +44,6 @@ lan_ip+=(["background"]="colour24")
 lan_ip+=(["separator"]="${separator_right_bold}")
 register_segment "lan_ip"
 
-declare -A wan_ip
-wan_ip+=(["script"]="${segments_path}/wan_ip.sh")
-wan_ip+=(["foreground"]="colour255")
-wan_ip+=(["background"]="colour24")
-wan_ip+=(["separator"]="${separator_right_thin}")
-wan_ip+=(["separator_fg"]="white")
-register_segment "wan_ip"
-
 # Print the status line in the order of registration above.
 print_status_line_left
 

+ 7 - 0
tmux/tmux-powerline-custom/status-right.sh

@@ -53,6 +53,13 @@ time+=(["separator"]="${separator_left_thin}")
 time+=(["separator_fg"]="default")
 register_segment "time"
 
+declare -A wan_ip
+wan_ip+=(["script"]="${segments_path}/wan_ip.sh")
+wan_ip+=(["foreground"]="colour235")
+wan_ip+=(["background"]="colour136")
+wan_ip+=(["separator"]="${separator_left_bold}")
+register_segment "wan_ip"
+
 # Print the status line in the order of registration above.
 print_status_line_right