screenrc: replace arch with session name in status line

Commit 22b0c419fa50 · Ahmad Khayyat · 2022-12-02 20:40 +0300

Changeset
22b0c419fa507b0b7d1d58cc41c9437b9b4c1434

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/screenrc b/screenrc
--- a/screenrc
+++ b/screenrc
@@ -4,11 +4,9 @@
 hardstatus on
 hardstatus alwayslastline
 backtick 1 86400 86400 whoami
-backtick 2 86400 86400 uname -m
-
 backtick 100 0 0 $HOME/.dotfiles/screen/screen-stats.awk
 
-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"
+hardstatus string "%{= kY}%1`%{+b G}@%{+b Y}%H%{-b G} (%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%<"