summaryrefslogtreecommitdiff
path: root/irssi/awesome.theme
blob: a89f4c8cdd7ec52383f349df02c380a5653858a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
###
# irssi theme file, using irssi 0.8.14
#   - anrxc_at_sysphere_org
#
###############################################

# This theme makes sense only with the Zenburn color pallete used by
# the terminal emulator. Without it, it could or would not look like
# crap.
#
# - My configuration file is available here:
#     http://git.sysphere.org/dotfiles/tree/irssi/


# 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
replaces = { "[]=" = "%K$*%n"; };

abstracts = {
  # Generic
  #
  # reserved spaces for nickname alignment
  spacer = "$[-7]0";
  # text to insert at the beginning of each non-message line
  line_start = " ";
  # timestamp styling
  timestamp = "%G$*%N|";
  # any kind of text that needs hilighting
  hilight = "%_$*%_";

  # any kind of error message
  error = "%Y$*%n";
  # channel name is printed
  channel = "%B%_$*%_%n";
  # nick is printed
  nick = "%W%_$*%_";
  # nick host is printed
  nickhost = "%b(%b$0-%b)%b";
  # server name is printed
  server = "%R%_$*%_";
  # some kind of comment is printed
  comment = "[%Y$*%n]";
  # reason for something is printed (part, quit, kick, ..)
  reason = "{comment $*}";
  # mode change is printed ([+o nick])
  mode = "{comment $*}";
  

  # Channel specific
  #
  # highlighted nick/host is printed (joins)
  channick_hilight = "%K$*%n";
  chanhost_hilight = "{nickhost %R$*%n}";
  # nick/host is printed (parts, quits, etc.)
  channick = "%c$*%n";
  chanhost = "{nickhost $*}";
  # highlighted channel name is printed
  channelhilight = "%B$*%n";
  # ban/ban exception/invite list mask is printed
  ban = "%R$*%n";


  # Messages
  #
  # the basic styling of how to print message, $0 = nick mode, $1 = nick  
  msgnick = "$0$1-%w|%n %|";
  # $0 = nick mode, $1 = nick
  ownmsgnick = "{msgnick $0 $1-%R}%n";
  ownnick = "%W$*%n";
  # public message in channel, $0 = nick mode, $1 = nick
  pubmsgnick = "{msgnick $0 $1-}";
  pubnick = "%N$*%n";
  pmsgnick = "%W$0%n$1-%w|%n %|";
  # public message in channel meant for me, $0 = nick mode, $1 = nick
  pubmsgmenick = "{msgnick $0 $1-}";
  menick = "%Y$*%n";
  # public highlighted message in channel
  # $0 = highlight color, $1 = nick mode, $2 = nick
  pubmsghinick = "{msgnick $1 $0$2-%n}";
  # channel name is printed with message
  msgchannel = "%K:%R$*%n";
  # private message, $0 = nick, $1 = host
  privmsg = "[%c$0%b(%b$1-%b)%n] ";
  # private message from you, $0 = "msg", $1 = target nick
  ownprivmsg = "[%b$0%b(%c$1-%b)%n] ";
  # own private message in query
  ownprivmsgnick = "{pmsgnick  $*}";
  ownprivnick = "%W$*%n";
  # private message in query
  privmsgnick = "{pmsgnick  %R$*%n}";


  # Actions (/ME)
  #
  # used internally by this theme
  action_core = "{spacer} %R* $*%n";
  # generic one that's used by most actions
  action = "{action_core $*} ";
  # own action, both private/public
  ownaction = "{action $*}";
  # own action with target, both private/public
  ownaction_target = "{action_core $0}%K:%R$1%n ";
  # private action sent by others
  pvtaction = "%R* $*%n ";
  pvtaction_query = "{pvtaction $*}";
  # public action sent by others
  pubaction = "{action $*}";


  # IRC events
  #
  # whois
  whois = "%# $[8]0 : $1-";
  # notices
  ownnotice = "[%R$0%K(%R$1-%K)]%n ";
  notice = "%K-%M$*%K-%n ";
  pubnotice_channel = "%K:%m$*";
  pvtnotice_host = "%K(%m$*%K)";
  servernotice = "%r!$*%n ";


  # CTCPs
  ownctcp = "[%r$0%K(%R$1-%K)] ";
  ctcp = "%R$*%n";


  # wallops
  wallop = "%W$*%n: ";
  wallop_nick = "%n$*";
  wallop_action = "%W * $*%n ";


  # netsplits
  netsplit = "%W$*%n";
  netjoin = "%W$*%n";


  # /names list
  names_prefix = "";
  names_nick = "[%_$0%_$1-] ";
  names_nick_op = "{names_nick $*}";
  names_nick_halfop = "{names_nick $*}";
  names_nick_voice = "{names_nick $*}";
  names_users = "[%c$*%n]";
  names_channel = "%B$*%n";


  # DCC
  dcc = "%r$*%n";
  dccfile = "%_$*%_";


  # DCC chat, own msg/action
  dccownmsg = "[%r$0%K($1-%K)%n] ";
  dccownnick = "%R$*%n";
  dccownquerynick = "%W$*%n";
  dccownaction = "{action $*}";
  dccownaction_target = "{action_core $0}%K:%c$1%n ";


  # DCC chat, others
  dccmsg = "[%R$1-%K(%r$0%K)%n] ";
  dccquerynick = "%R$*%n";
  dccaction = "%W (*dcc*) $*%n %|";


  # Statusbar
  #
  # default background+foreground for all statusbars
  sb_background = "%0%G";
  # background for prompt / input line
  sb_prompt_bg = "%n";
  # background for info statusbar
  sb_info_bg = "%7";

  # text at the beginning of statusbars
  sbstart = "";
  # text at the end of statusbars
  sbend = "";
  # same for topicbars
  topicsbstart = "";
  topicsbend = "";

  # entry prompt
  prompt = "%G::%n ";

  # statusbar items
  sb = ":: %n$* ";
  # user mode
  sbmode = " %W(%n+$*%W)%n";
  # away display
  sbaway = " %W:away:%n";
  # server display
  sbservertag = " %W[%n$0%W]%n";
  # mode display
  sbnickmode = "$0";

  # Statusbar activity
  #
  # ',' separator
  sb_act_sep = "%R$*";
  # normal text
  sb_act_text = "%W$*";
  # public message
  sb_act_msg = "%W$*";
  # hilight
  sb_act_hilight = "%W$*";
  # hilight with specified color, $0 = color, $1 = text
  sb_act_hilight_color = "$0$1-%n";


  # Scripts
  #
  # user count
  sb_usercount = "{sb %_$0%_ %W(%n$1-%W)%n ::}";
  # operators are printed
  sb_uc_ircops = "%_*%_$*";
  # channel operators are printed
  sb_uc_ops = "%_@%_$*";
  # half operators are printed
  sb_uc_halfops = "%_%%%_$*";
  # voiced users are printed
  sb_uc_voices = "%_+%_$*";
  # normal users are printed
  sb_uc_normal = "$*";
  # separator
  sb_uc_space = " ";
};


# Override irssi core settings
formats = {
  "fe-common/core" = {
    # Weechat-like notices
    #
    # channels joins
    join = "{spacer}%Y--> {channick $0} {chanhost $1} %Nhas joined";
    # channel parts
    part = "{spacer}%G<-- {channick $0} %Nhas left";
    # channel kicks
    kick = "{spacer}%G<-- {channick $2} %Nkicked {channick $0} ($3)";
    # channels quits
    quit = "{spacer}%G<-- {channick $0} %Nhas quit irc";
    # channels nick changes
    nick_changed = "{spacer}%Y-!-%Y {channick $0} %Nis now known as {channick $1}";
    # channel topic changes
    new_topic = "{nick $0} %Ntopic change -> {channel $1} to: $2";

    # text to insert at the beginning of each non-message line
    line_start_irssi = "";
    # timestamp styling
    timestamp = "{timestamp %%H:%%M} ";
  };
  "fe-common/irc" = {
  };
};