]> git.phdru.name Git - dotfiles.git/commitdiff
.screenrc: Use `caption` instead of `hardstatus`
authorOleg Broytman <phd@phdru.name>
Sat, 3 Sep 2022 16:15:11 +0000 (19:15 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 3 Sep 2022 16:15:11 +0000 (19:15 +0300)
With `caption` `screen` changes terminal icon name.

.screenrc

index 4eefc6cc3b21fba8dc6cac2ac748fc158f77b754..a085862f10c27b9c2382fc3b303694980a60e03b 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -93,8 +93,10 @@ termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
 # display window number, flags and title
 # for inactive windows - black on yellow (brown)
 # for active window - black on green
 # display window number, flags and title
 # for inactive windows - black on yellow (brown)
 # for active window - black on green
-hardstatus alwayslastline
-hardstatus string "%{= yk}%-w%{= gk}%n%f %t%{-}%+w %-="
+#hardstatus alwayslastline
+#hardstatus string "%{= yk}%-w%{= gk}%n%f %t%{-}%+w %-="
+
+caption always "%{= yk}%-w%{= gk}%n%f %t%{-}%+w %-="
 
 # set these terminals up to be 'optimal' instead of vt100
 termcapinfo xterm*|rxvt*|linux*|Eterm* OP
 
 # set these terminals up to be 'optimal' instead of vt100
 termcapinfo xterm*|rxvt*|linux*|Eterm* OP