screenlock: Moved lock / unlock / screenoff hooks after the existing logic and set empty defaults

Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
Maarten van Gompel 2021-07-25 14:19:44 +02:00 committed by Stacy Harper
parent 2b5f2b97e7
commit 66174219bf
No known key found for this signature in database
GPG key ID: 5BAC92328B7C5D65
3 changed files with 14 additions and 9 deletions

View file

@ -1,3 +1,3 @@
#!/usr/bin/env sh
pkill -9 lisgd
# This hook is called when the system reaches a locked state

View file

@ -1,4 +1,5 @@
#!/usr/bin/env sh
[ "$(xrandr | grep DSI-1 | cut -d ' ' -f 5)" = "right" ] && ORIENTATION=1 || ORIENTATION=0
sxmo_hooks.sh lisgdstart -o $ORIENTATION &
# This hook is called when the system becomes unlocked again
pkill -CONT conky