]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
screenrc: only display caption on splits
authorSimon Ruderich <simon@ruderich.org>
Wed, 18 Jul 2018 07:32:45 +0000 (09:32 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 18 Jul 2018 07:52:02 +0000 (09:52 +0200)
This is the default.

Removing the caption by default saves one line of screen estate and the
differently colored hardstatus is enough to visually differentiate
window list from window content (e.g. shell or active program).

shell/screenrc.in

index aef00163d61b9ebafb7c1717d45fe399260a83a6..9c4a10638fefb4ace6c7278fcad1ec0ac7ac5896 100644 (file)
@@ -2,7 +2,7 @@
 #
 # (BATTERY) is only used on laptops, (ROOT) only if running as root.
 
 #
 # (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
 #
 # 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
@@ -71,16 +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
 # #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%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
 # 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