statusbar = {
# formats:
# when using {templates}, the template is shown only if it's argument isn't
# empty unless no argument is given. for example {sb} is printed always,
# but {sb $T} is printed only if $T isn't empty.
items = {
# start/end text in statusbars
barstart = "{sbstart}";
barend = "{sbend}";
# treated "normally", you could change the time/user name to whatever
time = "{sb $Z}";
user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
space = " ";
#"{sb sbnickmode $cumode$N{sbmode $usermode}{sbaway $A}}";
topic = "$topic";
topic_empty = "Irssi $J ($V $versiontime)";
dccstatus = { alignment = "right"; };
# treated specially .. window is printed with non-empty windows,
# window_empty is printed with empty windows
# {sb $winref:$T{sbmode $M}};
window = "{sb $winref:$T{sbmode $M}}";
window_empty = "{sb $winref{sbservertag $tag}}";
# new items in different color for inactive windows
window_inact = "{sb %K$winref:$T{sbmode $M}}";
window_empty_inact = "{sb %K$winref{sbservertag $tag}}";
prompt = "{prompt $[.15]T}";
prompt_empty = "{prompt $winname}";
# all of these treated specially, they're only displayed when needed
network = "{sb $tag({servername $S})}";
lag = "{sb Lag: $0-}";
act = "{sb Act: $0-}";
more = "-- more --";
tag = "{sb $tag}";
};
# there's two type of statusbars. root statusbars are either at the top
# of the screen or at the bottom of the screen. window statusbars are at
# the top/bottom of each split window in screen.
default = {
# the "default statusbar" to be displayed at the bottom of the window.
# contains all the normal items.
window = {
# window, root
type = "window";
# top, bottom
placement = "bottom";
# number
position = "0";
# active, inactive, always, never (disables the statusbar)
visible = "active";
# list of items in statusbar in the display order
items = {
barstart = { priority = "100"; };
time = { };
user = { };
window = { };
window_empty = { };
network = { };
usercount = { };
numeric = { };
lag = { priority = "-1"; };
sendqueue = { };
loadavg = { alignment = "right"; };
inputlength = { alignment = "right"; };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
};
};
# statusbar to use in inactive split windows
window_inact = {
type = "window";
placement = "bottom";
position = "1";
visible = "inactive";
items = {
barstart = { priority = "100"; };
#renamed items!
window_inact = { };
window_empty_inact = { };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
};
};