summaryrefslogtreecommitdiff
path: root/lib/micmot-irssi-wrapper
diff options
context:
space:
mode:
authorcos <cos>2022-10-02 23:58:50 +0200
committercos <cos>2022-10-02 23:58:50 +0200
commite0330cb6feb7800608186d9374a99a9f6ab5dd63 (patch)
treec8154189e006c00ef03a30bb4f8efbfaae825787 /lib/micmot-irssi-wrapper
downloadmicmot-main.zip
Initial commitHEADmain
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