This commit is contained in:
2025-07-09 07:17:30 +03:00
parent 44471d2877
commit 8e0c4f9a70
4 changed files with 82 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ set -Eeu -o pipefail
# Based on the original weather script but adapted for Sway/i3status-rust
# Information on the various formats: https://github.com/chubin/wttr.in
VALUE_WEATHER_FORMAT=${weather_format:-"1"}
VALUE_WEATHER_FORMAT=${weather_format:-"%c%f"}
VALUE_WEATHER_FORMAT="?format=${VALUE_WEATHER_FORMAT}"
# Determine units to use for temperature