Suspend Conky during screenlock #177
This commit is contained in:
parent
6430537f55
commit
1371e394f8
2 changed files with 11 additions and 0 deletions
|
@ -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) &
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue