Skip to content

Instantly share code, notes, and snippets.

@shes-a-skeeze
Created December 2, 2011 22:22
Show Gist options
  • Save shes-a-skeeze/1425112 to your computer and use it in GitHub Desktop.
Save shes-a-skeeze/1425112 to your computer and use it in GitHub Desktop.
# default foreground color (%N) - -1 is the "default terminal color"
default_color = "-1";
# print timestamp/servertag at the end of line, not at beginning
info_eol = "false";
# these characters are automatically replaced with specified color
# (dark grey by default)
replaces = { "[]" = "%g$*%n"; };
abstracts = {
############# generic ###############################
# text to insert at the beginning of each non-message line
#line_start = "%g//%n ";
line_start = "";
# timestamp styling, nothing by default
timestamp = "%K$0-%n";
# any kind of text that needs hilighting, default is to bold
hilight = "%_$*%_";
# any kind of error message, default is bright red
error = "%R$*%n";
# channel name is printed
channel = "%b$*%n";
# nick is printed
nick = "%_$*%_";
# nick host is printed
nickhost = "%g$*";
# server name is printed
server = "%_$*%_";
# some kind of comment is printed
comment = "%n(%b\"$*\"%n);";
# reason for something is printed (part, quit, kick, ..)
reason = "{comment $*}";
# mode change is printed ([+o nick])
mode = "{comment $*}";
## channel specific messages
# highlighted nick/host is printed (joins)
channick_hilight = "%g$*%N";
chanhost_hilight = "{nickhost $*}";
# nick/host is printed (parts, quits, etc.)
channick = "$*";
chanhost = "{nickhost $*}";
# highlighted channel name is printed
channelhilight = "%g$*%n";
# ban/ban exception/invite list mask is printed
ban = "$*";
########### messages #################################
# the basic styling of how to print message, $0 = nick mode, $1 = nick
# msgnick = "$1-$0%K»%N %|";
msgnick = "$1-$0%K»%N %|";
# $0 = nick mode, $1 = nick
ownmsgnick = "{msgnick $0$1}%g";
ownnick = "%g$*%n";
# public message in channel, $0 = nick mode, $1 = nick
pubmsgnick = "{msgnick $0$1}";
pubnick = "%N $*%n ";
# public message in channel meant for me, $0 = nick mode, $1 = nick
pubmsgmenick = "{msgnick $0$1}%r";
menick = "%R$*%n";
# public highlighted message in channel
# $0 = highlight color, $1 = nick mode, $2 = nick
pubmsghinick = "{msgnick $1$0$2%n}%r";
# channel name is printed with message
msgchannel = "%K:%m$*%n";
# private message, $0 = nick, $1 = host
privmsg = "$0=%b\"$1-\"%n ";
# private message from you, $0 = "msg", $1 = target nick
ownprivmsg = "$0=%b\"$1-\"%n ";
# private message in query
# privmsgnick = "{msgnick $*}";
privmsgnick = "%g»%N %|";
# own private message in query
#ownprivmsgnick = "{privmsgnick $*}";
ownprivmsgnick = "%r»%N %|";
#ownprivnick = "$*";
########## Actions (/ME stuff) #########################
# generic one that's used by most actions
action = " %y$* %Y* %y%|";
# own action, both private/public
# ownaction = "{action $*}";
ownaction = " %y$* %Y*%N%y";
# own action with target, both private/public
ownaction_target = "{action $*}";
# private action sent by others
pvtaction = "{action $*}";
pvtaction_query = "{action $*}";
# public action sent by others
pubaction = "{action $*}";
########## other IRC events #############################
# whois
whois = "%# $[8]0 = $1-;";
# notices
ownnotice = "%NNote n = %Mnew%n $0 ($1-) ";
notice = "%M$*%n ";
pubnotice_channel = " %N($*)";
pvtnotice_host = " %N($*)";
servernotice = " %N($*)";
# CTCPs
ownctcp = "%NCTCP c = %Mnew%n $0 ($1-) ";
ctcp = "%N$*%n";
# wallops
wallop = "%K$*%n: ";
wallop_nick = "%n$*";
wallop_action = "%K * $*%n ";
# netsplits
netsplit = "Netsplit nsplit = %b\"$*\"%n";
netjoin = "Netjoin njoin = %b\"$*\"%n";
# /names list
names_prefix = " ";
names_nick = "%_%R$0%_%n$1- ";
names_nick_op = "{names_nick $*}";
names_nick_halfop = "{names_nick $*}";
names_nick_voice = "{names_nick $*}";
names_users = " %MServer%n %Y=%n names($1)";
names_channel = "\"%b$*\"%n";
# DCC
dcc = "%g$*%n";
dccfile = "%_$*%_";
# DCC chat, own msg/action
dccownmsg = "%g /* $0 ($1-) */";
dccownnick = "$*%n";
dccownquerynick = "$*%n";
dccownaction = "{action $*}";
dccownaction_target = "{action $*}";
# DCC chat, others
dccmsg = "%g/* $1- ($0) */";
dccquerynick = "%g$*%n";
dccaction = "{action $*}";
######## statusbar/topicbar ############################
# default background for all statusbars. You can also give
# the default foreground color for statusbar items.
sb_background = "%K%0";
# default backround for "default" statusbar group
#sb_default_bg = "%4";
# background for prompt / input line
sb_prompt_bg = "%n";
# background for info statusbar
#sb_info_bg = "%8";
# background for topicbar (same default)
#sb_topic_bg = "%4";
# text at the beginning of statusbars. sb-item already puts
# space there,so we don't use anything by default.
sbstart = "";
# text at the end of statusbars. Use space so that it's never
# used for anything.
sbend = "";
topicsbstart = "%BChannel: %b\"$*";
topicsbend = "$*%b\"";
prompt = "%K >%n ";
sb = "$* ";
sbmode = " %K[%g%g+%n$*%K]";
sbaway = " %g/* zZzZ */%n";
sbservertag = ":%r$0%n";
sbnickmode = "$0";
# activity in statusbar
# ',' separator
sb_act_sep = " ";
# normal text
sb_act_text = "%K$*";
# public message
sb_act_msg = "%G$*";
# hilight
sb_act_hilight = "%r$*%n";
# hilight with specified color, $0 = color, $1 = text
sb_act_hilight_color = "%r$1-%n";
};
########################################################
formats = {
"fe-common/core" = {
line_start = "{line_start}";
line_start_irssi = "{line_start}";
join = "%K{channick $[-15]0} %K»%K has joined";
part = "%K{channick $[-15]0} %K»%K has left {channel $2}";
kick = "%K{channick $[-15]0} %K»%K kicked by {nick $2} {reason %C$3}";
quit = "%K{channick $[-15]0} %K»%K has quit irc";
quit_once = "{channel $3} {channick $0} {chanhost $1} %kquit {reason %C$2}";
nick_changed = "{channick $[-15]0} %Y= {channick_hilight $1}";
your_nick_changed = "{channick $[-15]0} %Y= {channick_hilight $1}";
pubmsg = "{pubmsgnick $2 {pubnick \00312$[-13]0}}$1";
own_msg = "{ownmsgnick {ownnick $[-15]0$2}}$1";
own_msg_channel = "{ownmsgnick {ownnick $[-15]0$3}{msgchannel $1}}$2";
own_msg_private_query = "{ownprivmsgnick {ownprivnick $[-15]2}}$1";
pubmsg_me = "{pubmsgmenick {menick $[-15]0}$2}$1";
pubmsg_me_channel = "{pubmsgmenick {menick $[-15]0$3}{msgchannel $1}}$2";
# pubmsg_hilight = "{pubmsghinick $0 $0 $[-15]1$3%n}$2";
pubmsg_hilight = "{pubmsghinick $0 $0 %R$[-15]1$3%n}$2";
pubmsg_hilight_channel = "{pubmsghinick $0 $[-15]1$4{msgchannel $2}}$3";
pubmsg_channel = "{pubmsgnick {pubnick %G$[-15]0}$2}$1";
msg_private_query = "{privmsgnick $[-15]0}$2";
new_topic = " %ctopic %K= %|%B'$2' %non %b$1%n%K[set by {nick %y$0}]";
endofnames = " Total of {hilight $1} nicks {comment {hilight $2} ops, {hilight $3} halfops, {hilight $4} voices, {hilight $5} normal}";
};
"fe-common/irc" = {
own_action = "{ownaction $[-13]0} $1";
action_private = "{pvtaction $[-13]0}$1";
action_private_query = "{pvtaction_query $[-13]0} $2";
action_public = "{pubaction $[-13]0}$1";
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment