Skip to content

Commit

Permalink
README fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aperkins81 committed Oct 1, 2024
1 parent 1e190ea commit ec87274
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions weather@mockturtl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ The setting allows you to make the applet display basically anything in the form
| `{day_length}` | Daylight length in hours and minutes |
| `{day_remain}` | Daylight remaining in hours and minutes ("" after dark) |
| `{day_rem_pct}` | Daylight remaining as percentage ("0" after dark) |
| `{day_len_rem}` | Day length and Daylight remaining (or just Day length) |
| `{day_len_rem}` | Day length and daylight remaining (or day length) |
| `{min}` | Minimum temperature |
| `{max}` | Maximum temperature |
| `{tmr_min}` | Tomorrow's min temperature |
Expand All @@ -205,11 +205,11 @@ The setting allows you to make the applet display basically anything in the form
| `{t_h_diff}` | Temperature change in next 1-2 hours with arrow indicator |
| `{br}` | Line Break |

Left-pad values with up to 3 zeros using `{humidty,3.0}`. Right-pad values with up to 4 spaces using `{t.4}` (or `{t.4. }`. Some values have an overridable default padding (t: 4 padded left, humidity: 3 padded left, pressure: 7 padded left; all using spaces).
Left-pad values with up to 3 zeros using `{humidty,3.0}`. Right-pad values with up to 4 spaces using `{t.4}` (or `{t.4. }`). Some values have an overridable default padding (t: 4 padded left, humidity: 3 padded left, pressure: 7 padded left; all using spaces).

Multiline example for panel: ` {c} {t}{u}{t_h_diff}{br} {wind_speed}{wind_arrow} {humidity}% {pressure} {day_rem_pct}`
Multiline example for panel: ` {c} {t}{u}{t_h_diff}{br} {wind_speed}{wind_arrow} {humidity}% {pressure} {day_remain}`

Multiline example for tooltip - extra spaces fix rounded tooltips: ` {city} {country}, Last updated {last_updated} {br}Min / Max: {min} / {max} {u}{br}Tomorrow: {tmr_t} {br}Day Length: {day_len_rem} `
Multiline example for tooltip - extra spaces fix rounded tooltips: ` {city} {country}, Last updated {last_updated} {br}Min / Max: {min} / {max} {u}{br}Tomorrow: {tmr_t} {br}Day Length: {day_length} ({day_rem_pct}%)`

## Run script when the weather data changes

Expand Down

0 comments on commit ec87274

Please sign in to comment.