Merge pull request #253 from weidtn/patch-1

raw control chars in less, no "ESC" anymore
This commit is contained in:
Luke Smith 2019-03-25 08:41:01 -04:00 committed by GitHub
commit e5485481cf

View file

@ -2,7 +2,7 @@
[ "$(stat -c %y /tmp/weatherreport | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ] && getforecast
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>
- Click for wttr.in forecast.
☔: Chance of rain/snow