summaryrefslogtreecommitdiff
path: root/.config/wmii/wmiirc
blob: 1f1ea187d19b34767038b6cdb33074ea755f90f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
. "$HOME/.wmii/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