pgrep junk removed and minor script changes

This commit is contained in:
Luke Smith
2020-04-08 22:01:51 -04:00
parent 3e8f5c1647
commit 4814403bbf
15 changed files with 34 additions and 30 deletions

View File

@@ -20,7 +20,7 @@ sed '13q;d' "${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport" | grep -o "m\\(
case $BLOCK_BUTTON in
1) $TERMINAL -e less -Srf "${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport" ;;
2) getforecast && showweather ;;
3) pgrep -x dunst >/dev/null && notify-send "🌈 Weather module" "\- Left click for full forecast.
3) notify-send "🌈 Weather module" "\- Left click for full forecast.
- Middle click to update forecast.
☔: Chance of rain/snow
❄: Daily low