From 0a8df2cbdc44accb451fc092448ef3154a38bed0 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 12 Nov 2018 15:16:45 -0500 Subject: [PATCH] help messages tweaks --- .scripts/statusbar/i3help | 6 +++++- .scripts/statusbar/i3volume | 2 +- .scripts/statusbar/i3weather | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.scripts/statusbar/i3help b/.scripts/statusbar/i3help index 16eb97f..b28f893 100755 --- a/.scripts/statusbar/i3help +++ b/.scripts/statusbar/i3help @@ -1,5 +1,9 @@ #!/bin/sh -[ "$BLOCK_BUTTON" = "1" ] && "$READER" ~/.config/i3/i3_guide.pdf +case $BLOCK_BUTTON in + 1) "$READER" ~/.config/i3/i3_guide.pdf ;; + 3) pgrep -x dunst >/dev/null && notify-send "❓ Help module: +- Left click to open LARBS guide.";; +esac echo "❓" diff --git a/.scripts/statusbar/i3volume b/.scripts/statusbar/i3volume index 04a613a..26e5a17 100755 --- a/.scripts/statusbar/i3volume +++ b/.scripts/statusbar/i3volume @@ -5,7 +5,7 @@ case $BLOCK_BUTTON in 2) pulsemixer --toggle-mute ;; 4) pulsemixer --change-volume +5 ;; 5) pulsemixer --change-volume -5 ;; - 3) pgrep -x dunst >/dev/null && notify-send "Volume module: + 3) pgrep -x dunst >/dev/null && notify-send "📢 Volume module: - Shows volume 🔊, 🔇 if muted. - Middle click to mute. - Scroll to change." diff --git a/.scripts/statusbar/i3weather b/.scripts/statusbar/i3weather index 9521084..46ade8c 100755 --- a/.scripts/statusbar/i3weather +++ b/.scripts/statusbar/i3weather @@ -5,6 +5,7 @@ location="Statesboro" case $BLOCK_BUTTON in 1) $TERMINAL -e popweather ;; 3) pgrep -x dunst >/dev/null && notify-send "🌈 Weather module: +- Click for wttr.in forecast. ☔: Chance of rain/snow ❄: Daily low 🌞: Daily high" ;;