Skip to content

Instantly share code, notes, and snippets.

@glguy
Created January 29, 2019 18:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glguy/93d753314010f95960c94d0eebdd60e0 to your computer and use it in GitHub Desktop.
Save glguy/93d753314010f95960c94d0eebdd60e0 to your computer and use it in GitHub Desktop.
.config/glirc/config
extensions:
* "glirc-otr.bundle" -- off-the-record support
* path: "~/Source/glirc/lua-extension/builddir/glirc-lua.bundle"
args: [ "spam_bot/extension.lua" ]
macros:
* name : "accounts"
commands: "who $channel %tuhna,616"
* name : "lua"
arguments: "args*"
commands : "extension Lua $0"
* name : "otr"
arguments: "args*"
commands : "extension OTR $0"
* name : "csquiet"
arguments: "mask"
commands : "msg chanserv quiet $channel $0"
* name : "ns"
arguments: "args*"
commands : "quote ns $0"
* name : "cs"
arguments: "args*"
commands : "quote cs $0"
* name : "umode"
arguments: "args*"
commands : "quote mode $nick $0"
* name : "bansearch"
arguments: "nick channel"
commands : "znc *bansearch check $0 $1"
key-bindings:
* bind: "C-M-b"
command: "masks b"
* bind: "C-M-q"
command: "masks q"
* bind: "C-M-k"
command: "clear"
url-opener: "open"
bell-on-mention: yes
layout: two-column
activity-bar: yes
nick-padding: { width: 12, side: left }
palette:
line-marker: yellow
nick-colors:
[ cyan, magenta, green, yellow, blue
, bright-cyan, bright-magenta
, 218, 88, 89, 124, 160, 205, 212, 224 -- reds
, 94, 130, 166, 172, 208, 214, 216, 180 -- oranges
, 58, 226, 229, 184, 187, 100, 142, 220 -- yellows
, 22, 34, 40, 82, 70, 64, 48, 85 -- greens
, 25, 27, 33, 39, 51, 80, 81, 75 -- blues
, 69, 61, 56, 54, 129, 93, 99, 147 -- purples
]
defaults:
nick: "glguy"
realname: "Eric Mertens"
username: "glguy"
servers:
* name: "gl"
hostname: "znc.local"
port: 7000
username: "glguy@home/freenode"
password: "" -- required even with certauth
tls: yes
tls-client-cert: "~/Certificates/freenode.crt"
flood-threshold: 12
flood-penalty: 1.5
connect-cmds: ["znc-playback ${disconnect|0:00}"]
message-hooks: ["buffextras"]
chanserv-channels:
* "#haskell"
* "#haskell-irc"
* "#haskell-ops"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment