aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/Weather.sh
blob: 0540e51d2b1ffdf155bab024642710c153cfef25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  ##
# weather info using Python script with Open-Meteo APIs

if ! command -v python3 >/dev/null 2>&1; then
    echo "python3 not found in PATH" >&2
    exit 127
fi

python3 "$(dirname "$0")/Weather.py" "$@"
exit_code=$?
if [ "$exit_code" -ne 0 ]; then
    echo "Failed to run Weather.py" >&2
fi
exit "$exit_code"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage