From 4e28d448ad7d33efaeaec10222ed099f84b3042a Mon Sep 17 00:00:00 2001 From: Sam Briesemeister Date: Fri, 1 Oct 2021 10:34:50 -0700 Subject: [PATCH] screen: tuning caption and windowlist usability - more readable window list on mac - highlights currently focused window title in caption --- dotfiles/.screenrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotfiles/.screenrc b/dotfiles/.screenrc index edc952c..9f052c1 100644 --- a/dotfiles/.screenrc +++ b/dotfiles/.screenrc @@ -180,13 +180,13 @@ defhstatus "^Et" hardstatus off # stat line at the bottom of each screen -caption string "%{-s}%{+d dd} %{+ dy}%0c:%s%{-} %{+d dm}%?%F%{+b}%?%n%{-}%{-b} %{+b dg}%?%F%{+b}%?%t%{-}%{-b} %= %{+ dB}%h%{-} %{+ dy}%H%{-} %{+d dg}%l%{-} " +caption string "%{-s}%{+d dd} %{+ dy}%0c:%s%{-} %{+ dm}%?%F %{bu km}%?n%{-bu}%{-} %{+ dg}%?%F%{bu kg}%?%t%{-}%{-bu} %{d dd} %= %{+ dB}%h%{-} %{+ dy}%H%{-} %{+d dg}%l%{-} " caption always # caption top # not supported in 4.06? # configure the window list, via C-A " -windowlist title "%{+u .y}Num%{-} %{+u .b}Flags%{-} %{+u .g}Title%{-}%{-} %= %{+u b}Hardstatus%{-}" -windowlist string "%{.kk}%{+ .y}%3n%{- .y} %{+ .B}%f%{- .B} %{+ .g}%t%{- .g} %{kk} %= %?%F%{+ .w}(focus)%? %{+ .B}%h%{- .B}" +windowlist title "%{+u .y}Num%{-} %{+u .b}Flags%{-} %{+u .g}Title%{-}%{-} %= %{+u y}Hardstatus%{-}" +windowlist string "%{.dk}%{+ .y}%3n%{- .y} %{+ .B}%f%{- .B} %{+ .g}%t%{- .g} %{.k} %= %?%F%{+ .w}(focus)%? %{+ .y}%h%{-}" # Ensure that resizes won't shrink any window beyond usability focusminresize 10 10