feat: Adds weather desktop file, I may need to fix how it gets copied in the dev-env script.

This commit is contained in:
2025-10-01 17:26:08 -04:00
parent dccf54e115
commit f37b5f1db2
8 changed files with 55 additions and 27 deletions

14
env/.local/scripts/get-weather vendored Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Get the weather for the given location.
location=${1:-Cincinnati}
shouldContinue="1"
while [[ $shouldContinue == "1" ]]; do
echo -e "\e[H\e[2J" # clears the screen.
curl "wttr.in/$1"
shouldContinue=$(gum confirm "Quit / Refresh" --affirmative Quit --negative Refresh && echo "0" || echo "1")
done
echo -e "\e[H\e[2J" # clears the screen.