From 008ac30c52887fd89d2b31323761aa0eef4a599f Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 26 Feb 2023 12:59:50 +0000 Subject: [PATCH] Adds protocol to weather lookup --- utils/welcome-banner.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/welcome-banner.sh b/utils/welcome-banner.sh index e873ea1..819f013 100755 --- a/utils/welcome-banner.sh +++ b/utils/welcome-banner.sh @@ -41,7 +41,7 @@ function welcome_greeting () { function welcome_sysinfo () { if hash neofetch 2>/dev/null; then neofetch --shell_version off \ - --disable shell resolution de wm wm_theme theme icons terminal \ + --disable kernel distro shell resolution de wm wm_theme theme icons terminal \ --backend off \ --colors 4 8 4 4 8 6 \ --color_blocks off \ @@ -51,14 +51,14 @@ function welcome_sysinfo () { # Print todays info: Date, IP, weather, etc function welcome_today () { - timeout=0.5 + timeout=1 echo -e "\033[1;34mToday\n------" # Print date time echo -e "$COLOR_S$(date '+🗓️ Date: %A, %B %d, %Y at %H:%M')" # Print local weather - curl -s -m $timeout "wttr.in?format=%cWeather:+%C+%t,+%p+%w" + curl -s -m $timeout "https://wttr.in?format=%cWeather:+%C+%t,+%p+%w" echo -e "${RESET}" # Print IP address