blob: a71b6d2f3d5b881a2103092c8d9d2c7469026feb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/env bash
unset WMII_DIR
if [[ -z $_PATH ]]; then
export _PATH="$PATH"
export PATH="$WMII_CONFPATH:$PATH"
fi
. include.sh
systemd-notify --pid || true
wmiir xwrite /event WmiircQuit # close any existing wmiirc's
Event WmiircStart
systemd-notify --ready || true
trap "Event Quit" EXIT
while read -r event; do
Event $event <&-
done < "$WMII_DIR/event"
|