From 6b18fd2d23628c676070f13ff7c630b6680594c3 Mon Sep 17 00:00:00 2001 From: Dane Williams Date: Fri, 29 May 2020 16:42:18 -0700 Subject: [PATCH] fixed weather and network extra spaces --- data/weather.txt | 2 +- scripts/dracula.sh | 4 ++-- scripts/network.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/weather.txt b/data/weather.txt index f4a4c99..2aee588 100644 --- a/data/weather.txt +++ b/data/weather.txt @@ -1 +1 @@ -☀ 100° Pleasanton, CA +☀ 78° Pleasanton, CA diff --git a/scripts/dracula.sh b/scripts/dracula.sh index 9ecd9c5..3554acf 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -101,7 +101,7 @@ main() fi if $show_weather; then - tmux set-option -ga status-right "#[fg=${orange},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${dark_gray},bg=${orange}] #(cat $current_dir/../data/weather.txt) " + tmux set-option -ga status-right "#[fg=${orange},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${dark_gray},bg=${orange}] #(cat $current_dir/../data/weather.txt)" powerbg=${orange} fi @@ -127,7 +127,7 @@ main() fi if $show_weather; then - tmux set-option -ga status-right "#[fg=${dark_gray},bg=${orange}] #(cat $current_dir/../data/weather.txt) " + tmux set-option -ga status-right "#[fg=${dark_gray},bg=${orange}] #(cat $current_dir/../data/weather.txt)" fi if $show_military; then diff --git a/scripts/network.sh b/scripts/network.sh index 6ec84ad..f95afda 100755 --- a/scripts/network.sh +++ b/scripts/network.sh @@ -43,7 +43,7 @@ main() fi done - echo " $network" + echo "$network" } #run main driver function