GNU Screen hardstatus fun

04 June 2010

Today I decided to revisit the wonderful world of GNU Screen hardstatus syntax.

The ones that I’ve used for a year or so wasn’t ultimate since I cheated quite a bit by changing the Xresources colors to match my screen settings.
Yesterday I hacked a bit on a cat with syntax highlighting powers and wasn’t very happy with keyword and function names in black and darkgrey colors – thanks to me cheating with the Xresources color mappings as well.

Anyway, here’s the results. Prepend for example hardstatus alwayslastline.


?%{gk}-Lw%?%{mk}%n*%f t?(%u)%?%?%{gk}%+Lw%?%{Yk} | %{yk}RPD: %{Bk}%1`” 


’%{= M} H%{= B} %l %= %{= w}-w%{+b r}%n*%t%{-b r}%{w}%+w = %{c}%d %D %{B}%c ’


"?%{rk}%-Lw%?%{Ck}%n*%f t?(%u)%?%?%{rk}% +Lw%?%{Yk} | %1` %{yk}=%2`"