mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02: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:
parent
ebd0334cb6
commit
6f8a3bd08d
2 changed files with 29 additions and 6 deletions
26
irssi.conf
26
irssi.conf
|
|
@ -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"; };
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue