xref: /dragonfly/nrelease/gui/root/.irssi/config (revision 0db87cb7)
1servers = (
2  {
3    address = "irc.inet.tele.dk";
4    chatnet = "EFNet";
5    port = "6667";
6    autoconnect = "yes";
7  },
8);
9
10chatnets = {
11  EFNet = {
12    type = "IRC";
13    max_kicks = "4";
14    max_msgs = "3";
15    max_whois = "1";
16  };
17  drygast = { type = "IRC"; };
18};
19
20channels = (
21  { name = "#dragonflybsd"; chatnet = "EFNet"; autojoin = "Yes"; }
22);
23
24aliases = {
25  J = "join";
26  WJOIN = "join -window";
27  WQUERY = "query -window";
28  LEAVE = "part";
29  BYE = "quit";
30  EXIT = "quit";
31  SIGNOFF = "quit";
32  DESCRIBE = "action";
33  DATE = "time";
34  HOST = "userhost";
35  LAST = "lastlog";
36  SAY = "msg *";
37  WI = "whois";
38  WII = "whois $0 $0";
39  WW = "whowas";
40  W = "who";
41  N = "names";
42  M = "msg";
43  T = "topic";
44  C = "clear";
45  CL = "clear";
46  K = "kick";
47  KB = "kickban";
48  KN = "knockout";
49  BANS = "ban";
50  B = "ban";
51  MUB = "unban *";
52  UB = "unban";
53  IG = "ignore";
54  UNIG = "unignore";
55  SB = "scrollback";
56  UMODE = "mode $N";
57  WC = "window close";
58  WN = "window new hide";
59  SV = "say Irssi $J ($V) - http://irssi.org/";
60  GOTO = "sb goto";
61  CHAT = "dcc chat";
62  RUN = "SCRIPT LOAD";
63  CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
64  SBAR = "STATUSBAR";
65  INVITELIST = "mode $C +I";
66  Q = "QUERY";
67  "MANUAL-WINDOWS" = "set use_status_window off;set autocreate_windows off;set autocreate_query_level none;set autoclose_windows off;set reuse_unused_windows on;save";
68  EXEMPTLIST = "mode $C +e";
69  ATAG = "WINDOW SERVER";
70};
71statusbar = {
72  # formats:
73  # when using {templates}, the template is shown only if it's argument isn't
74  # empty unless no argument is given. for example {sb} is printed always,
75  # but {sb $T} is printed only if $T isn't empty.
76
77  items = {
78    # start/end text in statusbars
79    barstart = "{sbstart}";
80    barend = "{sbend}";
81
82    topicbarstart = "{topicsbstart}";
83    topicbarend = "{topicsbend}";
84
85    # treated "normally", you could change the time/user name to whatever
86    time = "{sb $Z}";
87    user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
88
89    # treated specially .. window is printed with non-empty windows,
90    # window_empty is printed with empty windows
91    window = "{sb $winref:$itemname{sbmode $M}}";
92    window_empty = "{sb $winref{sbservertag $tag}}";
93    prompt = "{prompt $[.15]itemname}";
94    prompt_empty = "{prompt $winname}";
95    topic = " $topic";
96    topic_empty = " Irssi v$J - http://irssi.org/help/";
97
98    # all of these treated specially, they're only displayed when needed
99    lag = "{sb Lag: $0-}";
100    act = "{sb Act: $0-}";
101    more = "-- more --";
102  };
103
104  # there's two type of statusbars. root statusbars are either at the top
105  # of the screen or at the bottom of the screen. window statusbars are at
106  # the top/bottom of each split window in screen.
107  default = {
108    # the "default statusbar" to be displayed at the bottom of the window.
109    # contains all the normal items.
110    window = {
111      disabled = "no";
112
113      # window, root
114      type = "window";
115      # top, bottom
116      placement = "bottom";
117      # number
118      position = "1";
119      # active, inactive, always
120      visible = "active";
121
122      # list of items in statusbar in the display order
123      items = {
124        barstart = { priority = "100"; };
125        time = { };
126        user = { };
127        window = { };
128        window_empty = { };
129        lag = { priority = "-1"; };
130        act = { priority = "10"; };
131        more = { priority = "-1"; alignment = "right"; };
132        barend = { priority = "100"; alignment = "right"; };
133      };
134    };
135
136    # statusbar to use in inactive split windows
137    window_inact = {
138      type = "window";
139      placement = "bottom";
140      position = "1";
141      visible = "inactive";
142      items = {
143        barstart = { priority = "100"; };
144        window = { };
145        window_empty = { };
146        more = { priority = "-1"; alignment = "right"; };
147        barend = { priority = "100"; alignment = "right"; };
148      };
149    };
150
151    # we treat input line as yet another statusbar :) It's possible to
152    # add other items before or after the input line item.
153    prompt = {
154      type = "root";
155      placement = "bottom";
156      # we want to be at the bottom always
157      position = "100";
158      visible = "always";
159      items = {
160        prompt = { priority = "-1"; };
161        prompt_empty = { priority = "-1"; };
162        # treated specially, this is the real input line.
163        input = { priority = "10"; };
164      };
165    };
166
167    # topicbar
168    topic = {
169      type = "root";
170      placement = "top";
171      position = "1";
172      visible = "always";
173      items = {
174        topicbarstart = { priority = "100"; };
175        topic = { };
176        topic_empty = { };
177        topicbarend = { priority = "100"; alignment = "right"; };
178      };
179    };
180  };
181};
182settings = {
183  core = {
184    real_name = "LiveDVD";
185    user_name = "LiveDVD";
186    nick = "LiveDVD";
187    recode_transliterate = "no";
188    recode_fallback = "UTF8";
189    recode_out_default_charset = "UTF-8";
190    recode_autodetect_utf8 = "yes";
191  };
192  "fe-common/core" = {
193    term_charset = "UTF-8";
194    autolog = "yes";
195    autolog_level = "all -crap -clientcrap -ctcps";
196  };
197  "fe-text" = { actlist_sort = "refnum"; };
198};
199
200logs = { };
201