scripts/wait_unlock.sh
2022-06-12 20:20:52 +03:00

15 lines
239 B
Bash
Executable File

#!/usr/bin/env bash
#
# Ferit Yiğit BALABAN <f@fybx.dev>, 2022
#
sleep 5
while : ; do
if pgrep -x "i3lock" > /dev/null
then
sleep 5
else
python $HOME/scripts/modeset.py --unlock
break
fi
done