summaryrefslogtreecommitdiff
path: root/.config/wmii/wmiirc
diff options
context:
space:
mode:
Diffstat (limited to '.config/wmii/wmiirc')
-rwxr-xr-x.config/wmii/wmiirc12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/wmii/wmiirc b/.config/wmii/wmiirc
new file mode 100755
index 0000000..1f1ea18
--- /dev/null
+++ b/.config/wmii/wmiirc
@@ -0,0 +1,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