refactor(hypr): ensure events monitor shuts down prior processes
This commit is contained in:
parent
768db8a00d
commit
7a88dee6bf
@ -46,7 +46,7 @@ monitor-laptop-lid() {
|
|||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
kill -9 "$(pgrep -f "${BASH_SOURCE[0]}" | grep -v "${$}")"
|
||||||
monitor-ssid &
|
monitor-ssid &
|
||||||
monitor-laptop-lid &
|
monitor-laptop-lid &
|
||||||
wait
|
wait
|
||||||
|
Loading…
Reference in New Issue
Block a user