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>
Tato revize je obsažena v:
noneofyourbusiness 2021-08-04 18:24:36 +02:00 autor: Stacy Harper
rodič 69fe290dfa
revize 5ccfeacfac
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID klíče GPG: 5BAC92328B7C5D65
3 změněných souborů, kde bylo provedeno 3 přidání a 2 odebrání

Zobrazit soubor

@ -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

Zobrazit soubor

@ -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)

Zobrazit soubor

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