Skip to content

Commit

Permalink
Merge branch 'dracula:master' into feature/theming
Browse files Browse the repository at this point in the history
  • Loading branch information
Theoreticallyhugo authored Sep 26, 2024
2 parents da9a05e + 66e0910 commit e814816
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/weather.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ fahrenheit=$1
location=$2
fixedlocation=$3

# emulate timeout command from bash - timeout is not available by default on OSX
if [ "$(uname)" == "Darwin" ]; then
timeout() {
perl -e 'alarm shift; exec @ARGV' "$duration" "$@"
}
fi

display_location()
{
if $location && [[ ! -z "$fixedlocation" ]]; then
Expand Down

0 comments on commit e814816

Please sign in to comment.