]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/screenrc.in
screenrc: only display caption on splits
[config/dotfiles.git] / shell / screenrc.in
index a40308357d8428d1d5135e2aa02c93ebf3dd9f48..9c4a10638fefb4ace6c7278fcad1ec0ac7ac5896 100644 (file)
@@ -1,12 +1,8 @@
 # GNU screen configuration file.
 #
-# Features which are only available in (very) recent screen releases or in
-# current Git are marked with "(GIT)" so they can be removed by the setup
-# script on machines with older versions.
-#
 # (BATTERY) is only used on laptops, (ROOT) only if running as root.
 
-# Copyright (C) 2011-2013  Simon Ruderich
+# Copyright (C) 2011-2018  Simon Ruderich
 #
 # This file is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -75,19 +71,6 @@ backtick 2 60 60 $HOME/.shell/bin/temperature.pl -s TEMPERATURE # (TEMPERATURE)
 # #screen on Freenode (2010-03-10 16:11 CET) for reminding me of it and
 # searching it again.
 unsetenv s
-
-# Always display the caption.
-setenv s "$s%{= Bw}" # - white on light blue background, also reset all
-                     #   attributes (necessary so everything is displayed
-                     #   correctly)
-setenv s "$s%?%P"    # - is copy mode enabled? (GIT)
-setenv s "$s%{= wB}" #   - if so change colors to light blue on white (GIT)
-setenv s "$s%?"      # - end if (GIT)
-setenv s "$s%3n"     # - window number
-setenv s "$s "       # - space
-setenv s "$s%t"      # - window name
-caption always "$s"
-unsetenv s
 # Always display the status line with open windows and the hostname.
 setenv s "$s%Lw" # - number and names of windows, L displays window flags
 setenv s "$s%="  # - right align the following text