Please bear with us as we work to restore functionality to dotfiles.org.
erikw
/.screenrc
# don't show info at startup
startup_message off
# if something goes wrong automatically detach screen
autodetach on
# tells screen that utf8 encoding should be uses (in all + new windows)
defutf8 on
# always show caption (information about current window/region) with customized tabs
caption always
caption string "%{kd}%-w%{r}%n.%t%{-}%+w"
# show time, IP, uptime etc. in the hardstatus, always
hardstatus on
hardstatus alwayslastline
backtick 1 5 60 /home/erikw/bin/screen/hardstatus.sh
hardstatus string "[%c:%s] %D %d/%m %Y | %1` | Host: %H% | Load average: %l"
# format for displaying time and date in the caption
time '[%c:%s] %D %d/%M %Y'
# turn off annoying vbell 'wuff! wuff!'
vbell off
# unbind C-a q and C-a C-q and bind C-a q to quit
bind ^q
bind q
bind q quit
# lock after 30 min of inactivity
idle 1800 lockscreen
# start screensaver in a new screen after 30 min, reset idle
#idle 1800 eval "screen -t screensaver cmatrix -u 10" "idle 0"
# set log on all windows (and new ones)
deflog on
# set log path and filename
logfile $HOME/.log/screen/screenlog.%t
# max numbers of windows
maxwin 10
# message to all windows
wall 'Welcome to screen@compton!'
# set esc timeout to 0 ms. good when using finch. obs might dissable esc
#maptimeout 0