Recently Written · git

ii-lchat-metapackage

Get suckless irc working for YOU

git clone https://github.com/equwal/ii-lchat-metapackage

Log | Files | Refs


commit ca5d6bdb5176debd7da34d6630426898abc88793
Spenser Truex <truex@equwal.com>
2025-08-30 20:43:16 -0400

Add libera chat unsystem messages .filter

 README.md                         | 3 ++-
 libera-chat-no-system-messages.sh | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index b6ccdee..5c08d2d 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,8 @@ use.
 with nickserv on liberachat. Install it on your machine. If you are
 using a service that isn't in there, or you find it doesn't work,
 please contribute.
-- copy filter/indent to the folder you will have the irc at as .filter
+- copy filter/indent to the folder you will have the irc at as .filter if you want that one. To just remove messages
+  that match a pattern (eg. join messages) check out that script.
 
 Copy irc-connect and lchat-connect to your path. Modify as needed.
 
diff --git a/libera-chat-no-system-messages.sh b/libera-chat-no-system-messages.sh
new file mode 100755
index 0000000..d0bf21d
--- /dev/null
+++ b/libera-chat-no-system-messages.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+sed -u '/ -!- /d' -