laptop-screenrc 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # GNU Screen - main configuration file
  2. # All other .screenrc files will source this file to inherit settings.
  3. # Author: Christian Wills - cwills.sys@gmail.com
  4. # Allow bold colors - necessary for some reason
  5. attrcolor b ".I"
  6. # Tell screen how to set colors. AB = background, AF=foreground
  7. termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
  8. # Enables use of shift-PgUp and shift-PgDn
  9. termcapinfo xterm|xterms|xs|rxvt ti@:te@
  10. # Erase background with current bg color
  11. defbce "on"
  12. # Enable 256 color term
  13. term xterm-256color
  14. # Cache 30000 lines for scroll back
  15. defscrollback 30000
  16. # Energy information
  17. backtick 101 30 15 /usr/bin/acpi
  18. hardstatus alwayslastline
  19. # Very nice tabbed colored hardstatus line
  20. hardstatus string '%{= Kd} %{= Kd}%-w%{= Kr}[%{= KW}%n %t%{= Kr}]%{= Kd}%+w %-= %{KG} %H%{KW}|%{KY}%101`%{KW}|%D %M %d %Y%{= Kc} %C%A%{-}'
  21. # change command character from ctrl-a to ctrl-b (emacs users may want this)
  22. escape ^Hh
  23. # Hide hardstatus: ctrl-a f
  24. bind f eval "hardstatus ignore"
  25. # Show hardstatus: ctrl-a F
  26. bind F eval "hardstatus alwayslastline"