Suspend Conky during screenlock #177

This commit is contained in:
Maarten van Gompel 2021-02-23 19:05:54 +01:00
parent 6430537f55
commit 1371e394f8
2 changed files with 11 additions and 0 deletions

View file

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

View file

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