1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05: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) # background for topicbar (same default)
#sb_topic_bg = "%4"; #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"; sb = " %c[%n$0-%c]%n";
sbmode = "(%c+%n$0-)"; sbmode = "(%c+%n$0-)";
sbaway = " (%GzZzZ%n)"; sbaway = " (%GzZzZ%n)";
sbservertag = ":$0 (change with ^X)"; 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. # but {sb $T} is printed only if $T isn't empty.
items = { items = {
# start/end text in statusbars
barstart = "{sbstart}";
barend = "{sbend}";
# treated "normally", you could change the time/user name to whatever # treated "normally", you could change the time/user name to whatever
time = "{sb $Z}"; time = "{sb $Z}";
user = "{sb $cumode$N{sbmode $usermode}{sbaway $A}}"; user = "{sb $cumode$N{sbmode $usermode}{sbaway $A}}";
@ -84,11 +88,10 @@ statusbar = {
# window_empty is printed with empty windows # window_empty is printed with empty windows
window = "{sb $winref:$T{sbmode $M}}"; window = "{sb $winref:$T{sbmode $M}}";
window_empty = "{sb $winref{sbservertag $tag}}"; window_empty = "{sb $winref{sbservertag $tag}}";
prompt = "[$[.15]T] "; prompt = "{prompt $[.15]T}";
prompt_empty = "[$winname] "; prompt_empty = "{prompt $winname}";
# all of these treated specially, they're only displayed when needed # all of these treated specially, they're only displayed when needed
#mail = "{sb Mail: $0}";
lag = "{sb Lag: $0}"; lag = "{sb Lag: $0}";
act = "{sb Act: $0-}"; act = "{sb Act: $0-}";
more = "-- more --"; more = "-- more --";
@ -112,14 +115,15 @@ statusbar = {
# list of items in statusbar in the display order # list of items in statusbar in the display order
items = { items = {
barstart = { priority = "100"; };
time = { }; time = { };
user = { }; user = { };
window = { }; window = { };
window_empty = { }; window_empty = { };
mail = { };
lag = { priority = "-1"; }; lag = { priority = "-1"; };
act = { priority = "10"; }; act = { priority = "10"; };
more = { priority = "-1"; alignment = "right"; }; more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
}; };
}; };
@ -129,7 +133,13 @@ statusbar = {
placement = "bottom"; placement = "bottom";
position = "1"; position = "1";
visible = "inactive"; 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 # (annoying) infobar requesting new users to visit irssi.org and read
@ -164,7 +174,11 @@ statusbar = {
placement = "top"; placement = "top";
position = "1"; position = "1";
visible = "always"; visible = "always";
items = { topic = { }; }; items = {
barstart = { priority = "100"; };
topic = { };
barend = { priority = "100"; alignment = "right"; };
};
}; };
}; };
}; };