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 strict; | |
use warnings; | |
use vars qw($VERSION %IRSSI); | |
use Irssi; | |
# Script info | |
$VERSION = '0.1'; | |
%IRSSI = ( | |
authors => 'Bas Stottelaar', |
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
new-window -n irssi irssi | |
split-window -h -p15 -t0 ‘/bin/cat ~/.irssi/nicklistfifo’ | |
send-keys -t1 "tmux send-keys -t0 \"irssi\" C-m; \ | |
tmux send-keys -t0 \"/set nicklist_height \$(stty size | cut -f1 -d' ' -)\" C-m; \ | |
tmux send-keys -t0 \"/set nicklist_width \$(stty size | cut -f2 -d' ' -)\" C-m; \ | |
tmux send-keys -t0 \"/nicklist fifo\" C-m; \ | |
cat ~/.irssi/nicklistfifo" C-m | |
select-pane -t |