tmux-weather icon indicating copy to clipboard operation
tmux-weather copied to clipboard

Add hide-units and hide-positive-number-sign options

Open pschmitt opened this issue 4 years ago • 1 comments

Moien,

I want to customize the output format a little bit further.

This PR introduces 2 new config options:

  • @tmux-weather-hide-units: Hides the units (+19°C -> +19)
  • @tmux-weather-hide-positive-number-sign: Hides the + sign in front of positive temps (+19°C -> 19°C)

As a bonus I ran shellcheck on the existing codebase and implemented the recommendations.

pschmitt avatar May 30 '20 13:05 pschmitt

I also noticed that the placeholder did not get replaced if placed in status-left, b3fc8de addresses that.

pschmitt avatar May 30 '20 14:05 pschmitt