Skip to content

Instantly share code, notes, and snippets.

@bsiegert
Created February 7, 2013 04:53
Show Gist options
  • Save bsiegert/4728649 to your computer and use it in GitHub Desktop.
Save bsiegert/4728649 to your computer and use it in GitHub Desktop.
clean theme for irssi
# clean theme for irssi 0.8.4 by sabi <irssi@sabi.net>
# 1.0.9 of 15 June 2002
# very loosely based on IamCyan.theme by marmot
replaces = { };
abstracts = {
##
## generic
##
# text to insert at the beginning of each non-message line
line_start = "";
# timestamp styling, nothing by default
# timestamp = "$0";
timestamp = "%b$0";
# any kind of text that needs hilighting, default is to bold
hilight = "%m$0%n";
# any kind of error message, default is bright red
error = "%R$0-%n";
# channel name is printed
channel = "%m$0-%n";
# nick is printed
nick = "%_$0-%_";
# nick host is printed
nickhost = "%n%9[%_$0-%9]%_";
# server name is printed
server = "$0-";
# some kind of comment is printed
comment = "[$0-]";
# reason for something is printed (part, quit, kick, ..)
reason = "($0-)";
# mode change is printed ([+o nick])
mode = "%r$0-%n";
##
## channel specific messages
##
# highlighted nick/host is printed (joins)
channick_hilight = "%B$0-%n";
chanhost_hilight = "{nickhost $0-}";
# nick/host is printed (parts, quits, etc.)
channick = "%b$0-";
chanhost = "{nickhost $0-}";
# highlighted channel name is printed
channelhilight = "%_$0-%_";
# ban/ban exception/invite list mask is printed
ban = "$0-";
##
## messages
##
# the basic styling of how to print message, $0 = nick mode, $1 = nick
msgnick = "$_%b$0%n$1-%9>%n %|";
# message from you is printed. "msgownnick" specifies the styling of the
# nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
# whole line.
# Example1: You want the message text to be green:
# ownmsgnick = "{msgnick $0 $1-}%g";
# Example2.1: You want < and > chars to be yellow:
# ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
# (you'll also have to remove <> from replaces list above)
# Example2.2: But you still want to keep <> grey for other messages:
# pubmsgnick = "%K{msgnick $0 $1-%K}%n";
# pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
# pubmsghinick = "%K{msgnick $1 $0$2-%K}%n";
# ownprivmsgnick = "%K{msgnick $0-%K}%n";
# privmsgnick = "%K{msgnick %R$0-%K}%n";
# $0 = nick mode, $1 = nick
ownmsgnick = "%b$0%n$1%n%R>%n %|";
ownnick = "$0-";
# public message in channel, $0 = nick mode, $1 = nick
pubmsgnick = "{msgnick $0 $1-}";
pubnick = "$0-";
# public message in channel meant for me, $0 = nick mode, $1 = nick
pubmsgmenick = "%b$0%r$1-%b%9>%n %|";
menick = "$0-";
# public highlighted message in channel
# $0 = highlight color, $1 = nick mode, $2 = nick
pubmsghinick = "%b$1$2-> %|";
# channel name is printed with message
msgchannel = "%w|%c$0-";
# private message, $0 = nick, $1 = host
privmsg = "<-%c$0%n[%C$1%n] ";
# private message from you, $0 = "msg", $1 = target nick
ownprivmsg = "->[%c$1-%n] $0";
# own private message in query
ownprivmsgnick = "{ownmsgnick = %C$0-%n}";
ownprivnick = "$0-";
# private message in query
privmsgnick = "{msgnick = %C$0-%n}";
##
## Actions (/ME stuff)
##
# used internally by this theme
action_core = "%m*%n $0-";
# generic one that's used by most actions
action = "{action_core $0-} ";
# own action, both private/public
ownaction = "{action $0-}";
# own action with target, both private/public
ownaction_target = "{action_core $0}{msgchannel $1} ";
# private action sent by others
pvtaction = " %g(*) $0- ";
pvtaction_query = "{action $0-}";
# public action sent by others
pubaction = "{action $0-}";
##
## other IRC events
##
# notices
ownnotice = "-> %gnotice%n[%G$1%n] ";
notice = "<- %Gnotice%n[%g$0%n] ";
pubnotice_channel = "{msgchannel $0}";
pvtnotice_host = "";
servernotice = "{notice $0-}";
# CTCPs
ownctcp = "-> %b$0%n[%B$1-%n] ";
ctcp = "%B$0-";
# wallops
wallop = "%y$0-: %n";
wallop_nick = "%y$0-%n";
wallop_action = "%y * $0-%n ";
# netsplits
netsplit = "%M%%%r $0-%n";
netjoin = "%M%%%m $0-%n";
# /names list
names_nick = " %b$0%n$1";
names_users = "%M#%m $0-";
names_channel = "{channel $0-}";
# DCC
dcc = "$0-";
dccfile = "%_$0-%_";
# DCC chat, own msg/action
dccownmsg = "*%c=$1-%n*> %g";
dccownaction = "{action $0-}";
dccownaction_target = "{ownaction_target $0-}";
# DCC chat, others
dccmsg = "*%c=$1-%n* ";
dccquerynick = "$0-";
dccaction = " (*dcc*) $0- %|";
##
## statusbar
##
# default background for all statusbars. You can also give
# the default foreground color for statusbar items.
sb_background = "%3%k";
# background for active window
sb_window_bg = "%2%k";
# 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 = "%5";
# background for topicbar (same default)
sb_topic_bg = "%4%W";
#sb_topic_fg = "%k";
# 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 = " ";
prompt = "{channel $*}%n%9>%_ ";
sb = " %n$*%w |";
sbmode = " (%m+%n$*)";
sbaway = " %nis away";
sbservertag = ":$0 (change with ^X)";
# activity in statusbar
# ',' separator
sb_act_sep = "%k$*";
# normal text
sb_act_text = "%k$*";
# public message
sb_act_msg = "%R$*";
# hilight
sb_act_hilight = "%M$*";
# hilight with specified color, $0 = color, $1 = text
sb_act_hilight_color = "$0$1-%n";
};
formats = {
"fe-common/core" = {
join = "%M+%n {channick_hilight $0} {chanhost_hilight $1} joined {channel $2}";
part = "%M-%n {channick $0} {chanhost $1} left {channel $2} {reason $3}";
kick = "%M!%n {channick $0} was kicked from {channel $1} by {nick $2} {reason $3}";
quit = "%M=%n {channick $0} {chanhost $1} quit {reason $2}";
};
"fe-common/irc" = {
chanmode_change = "%M~%n {nick $2} set {mode $1} on {channel $0}";
whois = "{nick $0} {nickhost $1@$2}%: ircname : $3";
server_chanmode_change = "{netsplit ServerMode}/{channelhilight $0}: {mode $1} by {nick $2}";
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment