WeeChat – Display a custom text in a bar

2013-06-27-163811_799x19_scrot

Today I’m gonna talk about the awesome text_item.py script for WeeChat by nils_2. This script let you add items to bars with the content you want! It can be static text as well as dynamic content by using the FIFO to display the output of a program.

Installation :

/script install text_item.py

Now let’s create an item called, for example, weechat_color and add the text – WeeChat – with colors

/set plugins.var.python.text_item.weechat_color all ${31}❤ ❤ ❤ ${*27}W${*133}ee${*112}Chat ${31}❤ ❤ ❤

Now add the weechat_color item to a bar, in this example the status bar :

/set weechat.bar.status.items [time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll,weechat_co
lor

Now you should have something exactly or very similar to the above screenshot. 100% useless but lovely!

So to write in bold and white use this :

${*white}

For underline use :

${_white}

Enjoy!

2 thoughts on “WeeChat – Display a custom text in a bar

  1. Pingback: WeeChat - my favorites scripts | pascalpoitraspascalpoitras

  2. Pingback: WeeChat - translation bar - pascalpoitraspascalpoitras

Leave a Reply