raw control chars in less, no "ESC" anymore
My weatherreport was full with ESC and other control chars. Using the -R flag for less makes it pretty again.
This commit is contained in:
parent
7e72b8cf60
commit
59b29a51d3
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
[ "$(stat -c %y /tmp/weatherreport | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ] && getforecast
|
[ "$(stat -c %y /tmp/weatherreport | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ] && getforecast
|
||||||
|
|
||||||
case $BLOCK_BUTTON in
|
case $BLOCK_BUTTON in
|
||||||
1) $TERMINAL -e less -S /tmp/weatherreport ;;
|
1) $TERMINAL -e less -S -R /tmp/weatherreport ;;
|
||||||
3) pgrep -x dunst >/dev/null && notify-send "<b>🌈 Weather module:</b>
|
3) pgrep -x dunst >/dev/null && notify-send "<b>🌈 Weather module:</b>
|
||||||
- Click for wttr.in forecast.
|
- Click for wttr.in forecast.
|
||||||
☔: Chance of rain/snow
|
☔: Chance of rain/snow
|
||||||
|
|
Loading…
Reference in a new issue