sdfsd
This commit is contained in:
parent
d8d4ffc580
commit
f929834adc
2 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,8 @@ main()
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt
|
./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt
|
||||||
if tmux has-session &> /dev/null; then
|
if tmux has-session &> /dev/null
|
||||||
|
then
|
||||||
sleep 1000
|
sleep 1000
|
||||||
else
|
else
|
||||||
break
|
break
|
||||||
|
|
|
@ -49,7 +49,7 @@ forecast_unicode()
|
||||||
display_weather()
|
display_weather()
|
||||||
{
|
{
|
||||||
if [ $country = 'US' ]; then
|
if [ $country = 'US' ]; then
|
||||||
echo " $(forecast_unicode)$(get_temp)°F"
|
echo "$(forecast_unicode)$(get_temp)°F"
|
||||||
else
|
else
|
||||||
echo ''
|
echo ''
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue