Re: Need help with the simplest, most readable Irssi theme possible
Dwayne Henderson <[email protected]> Thu, 12 Jan 2012 02:16:29 +0100
| Newsgroups | gmane.network.irc.irssi.user |
|---|---|
| Message-ID | <CAOOO88DXY4csoeT33RKcp5XxnvFr9vPKQzaXV2TKOtgxQR4vuQ@mail.gmail.com> |
Another issue I'm having is that my joins and parts get a black background
(visible when selecting the text in my terminal), which I'd really like to
be without:
http://i.imgur.com/1hMEM.png
Relevant lines from my theme file <https://gist.github.com/1593316>:
join = "%K{channick_hilight $0} {chanhost_hilight $1} has joined {channel
$2}%N";
part = "%K{channick $0} {chanhost $1} has left {channel $2} {reason $3}%N";
If I understand correctly, black background is %0 which is nowhere to be
found in my theme file.
Thanks y'all - hope I'm not asking for too much.
--Dwayne
On Wed, Jan 11, 2012 at 11:25 PM, Dwayne Henderson <
[email protected]> wrote:
> One more thing:
>
> With names_nick = "<$0$1-> "; (and without the dash) I get:
>
> 23:20 <@ahf > <+prooz > < DM9Mydog > < jink > < muzone > <
> Stampe >
> 23:20 <@Bazerka > <+tali > < drio > < jmad980 > < mykhyggz > <
> stevoo >
>
> How to make it like this instead?
>
> 23:20 <@ahf> <+prooz> < DM9Mydog> < jink> < muzone> <
> Stampe>
> 23:20 <@Bazerka> <+tali> < drio> < jmad980> < mykhyggz> <
> stevoo>
>
> Or preferably (as mentioned in my previous post):
>
> 23:20 <@ahf> <+prooz> <DM9Mydog> <jink> <muzone>
> <Stampe>
> 23:20 <@Bazerka> <+tali> <drio> <jmad980> <mykhyggz>
> <stevoo>
>
> I really like <> around nicks as a way of signifying "this is a real
> person".
>
> Thanks!
>
> --Dwayne
>
>
> On Wed, Jan 11, 2012 at 9:46 PM, Dwayne Henderson <
> [email protected]> wrote:
>
>> Real solid stuff Tom! Much respect!
>>
>> I have some follow-up questions though:
>>
>> 1. How do I color "mode/#irssi +v nick by ChanServ"?
>>
>> This has no effect:
>>
>> formats = {
>> "fe-common/core" = {
>> chanmode_change = "%Kmode/{channelhilight $0} {mode $1} by {nick
>> $2}%N"
>> };
>> };
>>
>> And this only colored the "+v nick by ChanServ" part:
>>
>> abstracts = {
>> mode = "%K{comment $*}";
>> };
>>
>> 2. So far I'm using this to tone down "channel noise":
>>
>> formats = {
>> "fe-common/core" = {
>> join = "%K{channick_hilight $0} {chanhost_hilight $1} has joined
>> {channel $2}%N"
>> part = "%K{channick $0} {chanhost $1} has left {channel $2} {reason
>> $3}%N"
>> quit = "%K{channick $0} {chanhost $1} has quit {reason $2}%N"
>> quit_once = "%K{channel $3} {channick $0} {chanhost $1} has quit
>> {reason $2}%N"
>> };
>> };
>>
>> But is there any way to color their relative timestamps as well?
>> Otherwise there's not much point in my opinion.
>>
>> 3. "/set show_nickmode_empty off" removes the empty space in the channel
>> < nick> unless the user has + or @. But how come this doesn't apply to the
>> /names list as well?
>>
>> Thanks again!
>>
>> --Dwayne
>>
>>
>> On Wed, Jan 11, 2012 at 8:47 PM, Tom Feist <[email protected]> wrote:
>>
>>> Hey,
>>>
>>> I've got a little bit of stuff started on writing themes, dealing with
>>> formats
>>> and whatnots on the wiki:
>>>
>>> https://github.com/shabble/irssi-docs/wiki/theme_howto
>>> https://github.com/shabble/irssi-docs/wiki/complete_themes
>>> https://github.com/shabble/irssi-docs/wiki/UIOverview
>>>
>>> They're still quite rough and missing a lot of useful info, but there
>>> might
>>> be something in there that you find helpful.
>>>
>>> As always, if you find something interesting that's missing, I'd be
>>> extremely
>>> grateful if you add/edit/fix stuff.
>>>
>>> Cheers,
>>>
>>> Tom.
>>>
>>> On 11 Jan 2012, at 19:35, Dwayne Henderson wrote:
>>>
>>> > Thanks a lot man, I really appreciate it!
>>> >
>>> > --Dwayne
>>> >
>>> > On Wed, Jan 11, 2012 at 8:19 PM, Mark <[email protected]> wrote:
>>> > <snip>
>>> > Themes and irssi has very little extra documentation, reading the
>>> > default.theme is the best you'll get anywhere. (that is the
>>> > ~/.irssi/default.theme btw)
>>> >
>>> > 1) The default theme doesn't right align nicks.
>>> >
>>> > 2) see the "# /names list" section in the default.theme
>>> >
>>> > 3) these are scattered around the theme, searching for joins, parts
>>> > etc will find it.
>>> >
>>> > 4) terminal background colours have nothing to do with the theme that
>>> > irssi use, so %K is always dark grey.
>>> >
>>> > The best you can hope for is to work through the /format's and
>>> > default.theme. Review other themes to see if they do things you want
>>> > and "steal" them!
>>> >
>>> > Mark
>>> >
>>> >
>>>
>>>
>>
>