skulk /.screenrc

.screenrc
#
# ~/.screenrc
#

# Set some basic options
vbell off             # Disable the visual bell.
startup_message off   # Disable startup messages.
autodetach on         # Autodetach session on hangup.
shell -$SHELL         # Set the default shell.
shelltitle sh         # Set the title of all shell windows.
defscrollback 512     # Set the default number of scrollback lines.

# Windows
bindkey "^[q" prev    # ALT+Q changes to the previous window.
bindkey "^[w" next    # ALT+W changes to the next window.
bindkey "^[," prev    # ALT+, changes to the previous window.
bindkey "^[." next    # ALT+. changes to the next window.

# Keyboard shortcuts
bind ^m screen -t mpd  ncmpc           # C-a-m - run ncmpc.
bind ^s screen -t nfe0 slurm -i nfe0   # C-a-s - run slurm.
bind ^f screen -t fish fish            # C-a-f - run fish.

# Startup sessions
screen -t mpd 0 ncmpc                  # Run ncmpc.
screen -t torrent 1 rtorrent           # Run rtorrent.
screen -t sh 2                         # Run an empty shell.

# Hardstatus line
hardstatus alwayslastline '%{= M}%H%{= G} %l %= %{= w}%-w%{+b r}%n*%t%{-b r}%{w}%+w %= %{c}%d %D %{B}%c'