diff --git a/scripts/core/sxmo_postwake.sh b/scripts/core/sxmo_postwake.sh index f3f7522..18e3488 100755 --- a/scripts/core/sxmo_postwake.sh +++ b/scripts/core/sxmo_postwake.sh @@ -2,7 +2,12 @@ # This script is called when the system has successfully woken up after sleep +# include common definitions +# shellcheck source=scripts/core/sxmo_common.sh +. "$(dirname "$0")/sxmo_common.sh" + sxmo_statusbarupdate.sh +pkill -CONT conky (sleep 15 && sxmo_resetscaninterval.sh) & diff --git a/scripts/core/sxmo_presuspend.sh b/scripts/core/sxmo_presuspend.sh index 2319330..e41c012 100755 --- a/scripts/core/sxmo_presuspend.sh +++ b/scripts/core/sxmo_presuspend.sh @@ -2,6 +2,12 @@ # This script is called prior to suspending +# include common definitions +# shellcheck source=scripts/core/sxmo_common.sh +. "$(dirname "$0")/sxmo_common.sh" + +pkill -STOP conky + # If this script returns a non-zero exit code, suspension will be cancelled if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/presuspend" ]; then