[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-support] layout.pl
From: |
calmar |
Subject: |
[Weechat-support] layout.pl |
Date: |
Sat, 27 Oct 2007 21:22:33 +0200 |
User-agent: |
Mutt/1.5.15 (2007-04-06) |
Hi all,
not sure if this is the right place etc, but anyway.
I have layout.pl in the perl/autoload folder.
I have two servers.
,-----------------------------------------
|
| [server]
| server_name = "freenode"
| server_autoconnect = on
| server_autoreconnect = on
| server_autoreconnect_delay = 30
| server_address = "irc.freenode.net"
| server_port = 6667
| [...]
| server_command = ""
| server_command_delay = 0
| server_autojoin = "#bash,#sed,[...],#weechat"
| server_autorejoin = on
| server_notify_levels = ""
|
| [server]
| server_name = "oftc"
| server_autoconnect = on
| server_autoreconnect = on
| [...]
| server_command = ""
| server_command_delay = 1
| server_autojoin = "#bash,#linux"
| server_autorejoin = on
| server_notify_levels = ""
`-----------------------------------------
the according plugin setting is like that:
,------------------------------------------------------------
| perl.layout.buffers =
| "1:freenode,2:freenode/#bash,[...]10:freenode/#vimperator,
| 11:freenode/#weechat,12:oftc,13:oftc/#bash,14:oftc/#linux"
`------------------------------------------------------------
so the oftc channels are at the end. Yet on the starup they are at
position 2,3 and 4.
I guess it's because layout takes it's action before the channels
are created maybe?
Is there a good way to solve that?
Maybe using a wait command in in layout.pl it it can't find yet a
buffer? Would be an issue then, when there's always a buffer what
it can't find. But when it really doesn't find the channel after 2
secons, it might delete it out of the setting, so the next time it
works fast again? just an idea.
cheers and thanks
marco
PS: when I issue a /layout command manually afterwards, it
loads'up fine
PSII: a buffer to be after the startup (e.g. no to be on the last)
would be nice too.
--
(o_ It rocks: LINUX + Command-Line-Interface
//\
V_/_ http://www.calmar.ws
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Weechat-support] layout.pl,
calmar <=