Skip to content

Support for Nerd Fonts in One-Line Output #1147

@chubin

Description

@chubin

Brief Description:
This feature adds support for displaying weather information using Nerd Font symbols in the one-line output format. Nerd Fonts are popular among developers for their rich set of icons and glyphs, enhancing the visual appeal in terminal environments.

Field Name for One-Line Output:

  • X (used to represent the weather condition with a Nerd Font icon) — similar to c, C, x

Usage Example:

  • URL: https://wttr.in/London?format="%l:+%X+%t\n"
    (This will display the one-line output for London with Nerd Font symbols enabled.)
  • Output Example: London: 🌤️ 15°C (where 🌤️ is a Nerd Font-compatible symbol for partly cloudy weather)

Affected Views:

  • One-line output only (not applicable to v1 or v2 full views)

This feature enhances the one-line output by integrating visually appealing Nerd Font symbols, catering to users who utilize Nerd Fonts in their terminal setups.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions