Update conky and the status bar on wake ups.

Add USR2 signal to unlock hook, remove useless STOP and CONTINUE
Update the bar in the same time.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
master
noneofyourbusiness 3 years ago committed by Stacy Harper
parent 69fe290dfa
commit 5ccfeacfac
No known key found for this signature in database
GPG Key ID: 5BAC92328B7C5D65
  1. 3
      configs/default_hooks/postwake
  2. 1
      configs/default_hooks/presuspend
  3. 1
      configs/default_hooks/unlock

@ -6,4 +6,7 @@ UNSUSPENDREASON="$1"
#periodic wakeup) or "button". You will likely want to check against this and
#decide what to do
pkill -USR2 conky # refresh conky
sxmo_statusbarupdate.sh
# Add here whatever you want to do

@ -6,7 +6,6 @@
# shellcheck source=scripts/core/sxmo_common.sh
. "$(which sxmo_common.sh)"
pkill -STOP conky
pkill clickclack
pkill -f "$KEYBOARD"
pkill mpv #if any audio/video is playing, kill it (it might stutter otherwise)

@ -2,4 +2,3 @@
# This hook is called when the system becomes unlocked again
pkill -CONT conky

Loading…
Cancel
Save