Created
May 9, 2012 00:03
-
-
Save zigdon/2640592 to your computer and use it in GitHub Desktop.
Automatically assign all new irssi windows to 11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Irssi; | |
sub wic { | |
my ($win, $query) = @_; | |
$win->command("window number 11"); | |
} | |
Irssi::signal_add("window item changed", \&wic); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment