summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/wmiirc
blob: a6bc4b4d1461c5ee8befa1c4a4247576f95a451a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
export _PATH="$PATH"
export PATH="$WMII_CONFPATH:$PATH"

. include.sh

wmiir xwrite /event WmiircQuit # close any existing wmiirc's

Event WmiircStart

trap "Event Quit" EXIT

wmiir read /event 2>/dev/null | while read event; do
	Event $event
done