UPTIME = "eval exec - expr `date +%s` - \\$F | awk '{print \"Irssi uptime: \"int(\\\\\\$1/3600/24)\"d \"int(\\\\\\$1/3600%24)\"h \"int(\\\\\\$1/60%60)\"m \"int(\\\\\\$1%60)\"s\" }'";
CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
SBAR = "STATUSBAR";
+ Q = "QUERY";
};
#
user = "{sb $cumode$N{sbaway $A}}";
usermode = " {sbusermode $usermode}";
topic = " $topic";
+ topic_empty = " Irssi v$J - http://irssi.org/help/";
# treated specially .. window is printed with non-empty windows,
# window_empty is printed with empty windows
items = {
barstart = { priority = "100"; };
topic = { };
+ topic_empty = { };
barend = { priority = "100"; alignment = "right"; };
};
};