~ vermaden /.screenrc

/var/tmp/vermaden-stats-top is generated by uniload.sh from http://vermaden.go.pl/scripts
startup_message off
vbell           off
defscrollback   512
shell           -$SHELL
shelltitle      sh

# enable SHIFT-PGUP / SHIFT-PGDOWN scroll
termcapinfo rxvt ti@:te@

# change window with ALT-. ALT-,
bindkey "^[," prev
bindkey "^[." next

# change window with ALT-Q ALT-W
bindkey "^[q" prev
bindkey "^[w" next

# keyboard shortcuts
bind ^g screen -t gg   ekg           # C-a-g
bind ^m screen -t mpd  ncmpc         # C-a-m
bind ^i screen -t icq  centericq     # C-a-i
bind ^f screen -t fish fish          # C-a-f
bind ^s screen -t fxp0 slurm -i fxp0 # C-a-s

# startup sessions
screen -t gg    0 ekg
screen -t sh    1
# select 0

# status // change %{= M} --> %{= kM} to display status on black background
hardstatus alwayslastline '%{= M} %H%{= G} %l %= %{= w}%-w%{+b r}%n*%t%{-b r}%{w}%+w %= %{c}%d %D %{B}%c '

# add CPU idle/sustem/user/interrupt stats
backtick 100 5 5 tail -1 /var/tmp/vermaden-stats-top
caption always '%{= wk} %= %100` %='

# detach on hangup
autodetach on