diff options
-rw-r--r-- | irssi.conf | 15 | ||||
-rw-r--r-- | src/fe-text/statusbar-items.c | 2 |
2 files changed, 5 insertions, 12 deletions
@@ -121,8 +121,6 @@ statusbar = { # treated "normally", you could change the time/user name to whatever time = "{sb $Z}"; user = "{sb $cumode$N{sbmode $usermode}{sbaway $A}}"; - topic = " $topic"; - info = " Irssi v$J - http://irssi.org/beginner/ - read it to get rid of this"; # treated specially .. window is printed with non-empty windows, # window_empty is printed with empty windows @@ -130,6 +128,8 @@ statusbar = { window_empty = "{sb $winref{sbservertag $tag}}"; prompt = "{prompt $[.15]T}"; prompt_empty = "{prompt $winname}"; + topic = " $topic"; + topic_empty = " Irssi v$J - http://irssi.org/help/"; # all of these treated specially, they're only displayed when needed lag = "{sb Lag: $0-}"; @@ -184,16 +184,6 @@ statusbar = { }; }; - # (annoying) infobar requesting new users to visit irssi.org and read - # a bit of documentation :) - info = { - type = "root"; - placement = "bottom"; - position = "1"; - visible = "always"; - items = { info = { }; }; - }; - # we treat input line as yet another statusbar :) It's possible to # add other items before or after the input line item. prompt = { @@ -219,6 +209,7 @@ statusbar = { items = { barstart = { priority = "100"; }; topic = { }; + topic_empty = { }; barend = { priority = "100"; alignment = "right"; }; }; }; diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c index f8042c5c..fc1d526f 100644 --- a/src/fe-text/statusbar-items.c +++ b/src/fe-text/statusbar-items.c @@ -389,6 +389,8 @@ void statusbar_items_init(void) statusbar_item_register("window_empty", NULL, item_window_empty); statusbar_item_register("prompt", NULL, item_window_active); statusbar_item_register("prompt_empty", NULL, item_window_empty); + statusbar_item_register("topic", NULL, item_window_active); + statusbar_item_register("topic_empty", NULL, item_window_empty); statusbar_item_register("lag", NULL, item_lag); statusbar_item_register("act", NULL, item_act); statusbar_item_register("more", NULL, item_more); |