summaryrefslogtreecommitdiff
path: root/lib/micmot-weechat-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-weechat-wrapper
downloadmicmot-main.zip
Initial commitHEADmain
Diffstat (limited to 'lib/micmot-weechat-wrapper')
-rwxr-xr-xlib/micmot-weechat-wrapper7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/micmot-weechat-wrapper b/lib/micmot-weechat-wrapper
new file mode 100755
index 0000000..ec18f78
--- /dev/null
+++ b/lib/micmot-weechat-wrapper
@@ -0,0 +1,7 @@
+#!/bin/sh -eu
+
+_fifo="${HOME}/.weechat/micmot-fifo"
+
+mkfifo "${_fifo}"
+tail -f "${_fifo}" &
+weechat