From bf82a453ec1d75eb2d382e6cc7dbc71f7364c33c Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 26 Sep 2013 15:22:52 -0400 Subject: [PATCH] Conditional highlighting in screen caption line and removal of IP address --- .screenrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.screenrc b/.screenrc index 32b67d3..b46f3e3 100644 --- a/.screenrc +++ b/.screenrc @@ -8,8 +8,7 @@ # backtick commands # backtick 1 1 1 date '+%Y-%m-%d %H:%M:%S' -backtick 2 303 303 .screen/getip -backtick 3 999999 999999 whoami +backtick 2 999999 999999 whoami backtick 50 59 59 .screen/ssh-agent-key backtick 51 59 59 .screen/secstat @@ -49,7 +48,7 @@ defscrollback 10000 # status lines # hardstatus alwayslastline -caption always "%{= kw}%-Lw%{= KW}%n*%f %t%{-}%+Lw %= %{+b}%3`@%H %2`%{-}%{-}" +caption always "%{= kw}%-Lw%?%F%{= KW}%:%{+ .W}%?%n*%f %t%{-}%+Lw %= %?%F%{+b}%?%2`@%H%{-}%?%{-}" hardstatus string "%{= kw}%{+b}Happy Hacking%{-}%50`%51` %= %101` %100` %102` %1`%{-}" sorendition "= kW"