summaryrefslogtreecommitdiff
path: root/lib/micmot-irssi-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'lib/micmot-irssi-wrapper')
-rwxr-xr-xlib/micmot-irssi-wrapper7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/micmot-irssi-wrapper b/lib/micmot-irssi-wrapper
new file mode 100755
index 0000000..60869fe
--- /dev/null
+++ b/lib/micmot-irssi-wrapper
@@ -0,0 +1,7 @@
+#!/bin/sh -eu
+
+_fifo="${IRSSI_TMUX_FIFO:-${HOME}/.irssi/micmot-fifo}"
+
+mkfifo "${_fifo}"
+tail -f "${_fifo}" &
+irssi