1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

added prompt, barstart and barend to theme. Removed mail stuff from config,

it's only a script now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1884 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-10-21 17:27:43 +00:00 committed by cras
parent ebd0334cb6
commit 6f8a3bd08d
2 changed files with 29 additions and 6 deletions

View File

@ -255,8 +255,17 @@ abstracts = {
# background for topicbar (same default)
#sb_topic_bg = "%4";
# 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 = " ";
sb = " %c[%n$0-%c]%n";
sbmode = "(%c+%n$0-)";
sbaway = " (%GzZzZ%n)";
sbservertag = ":$0 (change with ^X)";
prompt = "[$0-] ";
};

View File

@ -74,6 +74,10 @@ statusbar = {
# 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 $cumode$N{sbmode $usermode}{sbaway $A}}";
@ -84,11 +88,10 @@ statusbar = {
# window_empty is printed with empty windows
window = "{sb $winref:$T{sbmode $M}}";
window_empty = "{sb $winref{sbservertag $tag}}";
prompt = "[$[.15]T] ";
prompt_empty = "[$winname] ";
prompt = "{prompt $[.15]T}";
prompt_empty = "{prompt $winname}";
# all of these treated specially, they're only displayed when needed
#mail = "{sb Mail: $0}";
lag = "{sb Lag: $0}";
act = "{sb Act: $0-}";
more = "-- more --";
@ -112,14 +115,15 @@ statusbar = {
# list of items in statusbar in the display order
items = {
barstart = { priority = "100"; };
time = { };
user = { };
window = { };
window_empty = { };
mail = { };
lag = { priority = "-1"; };
act = { priority = "10"; };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
};
};
@ -129,7 +133,13 @@ statusbar = {
placement = "bottom";
position = "1";
visible = "inactive";
items = { window = { }; window_empty = { }; more = { }; };
items = {
barstart = { priority = "100"; };
window = { };
window_empty = { };
more = { };
barend = { priority = "100"; alignment = "right"; };
};
};
# (annoying) infobar requesting new users to visit irssi.org and read
@ -164,7 +174,11 @@ statusbar = {
placement = "top";
position = "1";
visible = "always";
items = { topic = { }; };
items = {
barstart = { priority = "100"; };
topic = { };
barend = { priority = "100"; alignment = "right"; };
};
};
};
};