diff options
Diffstat (limited to '.wmii-hg/wmiirc')
-rwxr-xr-x | .wmii-hg/wmiirc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.wmii-hg/wmiirc b/.wmii-hg/wmiirc new file mode 100755 index 0000000..a6bc4b4 --- /dev/null +++ b/.wmii-hg/wmiirc @@ -0,0 +1,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 |