]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/screenrc.in
screenrc: only show hostname in hardstatus on remote systems
[config/dotfiles.git] / shell / screenrc.in
index aef00163d61b9ebafb7c1717d45fe399260a83a6..e9f397a7c7036816765a015752a9941ca6d6038c 100644 (file)
@@ -1,8 +1,8 @@
 # GNU screen configuration file.
 #
-# (BATTERY) is only used on laptops, (ROOT) only if running as root.
+# (NAME) is used to selectively disable features, see setup.sh for details.
 
-# 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
@@ -71,22 +71,11 @@ 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%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
-setenv s "$s%l"  # - load average
-setenv s "$s "   # - space
-setenv s "$s%H"  # - hostname
+setenv s "$s "   # - space          (REMOTE)
+setenv s "$s%H"  # - hostname       (REMOTE)
 setenv s "$s "   # - space          (TEMPERATURE)
 setenv s "$s%2`" # - temperature    (TEMPERATURE)
 setenv s "$s "   # - space          (BATTERY)