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>
This commit is contained in:
parent
69fe290dfa
commit
5ccfeacfac
3 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue