Преглед на файлове

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 преди 13 години
родител
ревизия
2ada01ab8f
променени са 2 файла, в които са добавени 7 реда и са изтрити 8 реда
  1. 0 8
      tmux/tmux-powerline-custom/status-left.sh
  2. 7 0
      tmux/tmux-powerline-custom/status-right.sh

+ 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