refactor(hypr): ensure events monitor shuts down prior processes

This commit is contained in:
Price Hiller 2023-09-04 23:06:31 -05:00
parent 768db8a00d
commit 7a88dee6bf
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -46,7 +46,7 @@ monitor-laptop-lid() {
sleep 1
done
}
kill -9 "$(pgrep -f "${BASH_SOURCE[0]}" | grep -v "${$}")"
monitor-ssid &
monitor-laptop-lid &
wait