File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if ping -c 2 google.com > /dev/null ; then echo " " ; else echo " " ; fi
Original file line number Diff line number Diff line change @@ -28,10 +28,11 @@ set -g status-right-style NONE
2828tm_session=" #[fg=$tm_black ,bg=$tm_fg ,bold] #S "
2929tm_datetime=" %A %D %r "
3030tm_battery_status=' #(bash -c ~/bashrc-cg/shellscripts/battery.sh)'
31+ tm_network_status=' #(bash -c ~/bashrc-cg/shellscripts/network.sh)'
3132tm_host=" #[fg=$tm_black ,bg=$tm_fg ,nobold] #h "
3233
3334tm_left_section=" $tm_session "
34- tm_right_section=" #[fg=$tm_fg ,bg=$tm_bg ]$tm_battery_status $tm_datetime "
35+ tm_right_section=" #[fg=$tm_fg ,bg=$tm_bg ]$tm_battery_status $tm_datetime$tm_network_status "
3536
3637set -g status-left " $tm_left_section "
3738set -g status-right " $tm_right_section "
You can’t perform that action at this time.
0 commit comments