screenrc: show session name in status line

Commit 1f8ad626925c · Ahmad Khayyat · 2022-07-19 22:21 +0300

Changeset
1f8ad626925c768cbd8a47fea1c33da7c028635c

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/screenrc b/screenrc
--- a/screenrc
+++ b/screenrc
@@ -8,7 +8,7 @@
 
 backtick 100 0 0 $HOME/.dotfiles/screen/screen-stats.awk
 
-hardstatus string "%{= kY}%1`%{+b G}@%{+b Y}%H%{-b G} (%2`) %-=%{G}%100` %{w}|%{-} %{Y}%Y%{-}.%{Y}%m%{-}.%{Y}%d%{-} %D %{Y}%C%{-}:%{Y}%s%{-} %a"
+hardstatus string "%{= kY}%1`%{+b G}@%{+b Y}%H%{-b G} (%2`) %{Y}%S %-=%{G}%100` %{w}|%{-} %{Y}%Y%{-}.%{Y}%m%{-}.%{Y}%d%{-} %D %{Y}%C%{-}:%{Y}%s%{-} %a"
 
 caption always
 caption string "%-Lw%{= bw}%50>%n %t%{-}%+Lw%<"