From 6d3bff06f743f6136d5238b394883e50ec4075dc Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Tue, 23 Jul 2024 01:47:31 -0400 Subject: refactor: use `alwaysfirstline` --- .config/screen/screenrc | 2 +- .config/screen/screenrc-if-tty | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.config/screen') diff --git a/.config/screen/screenrc b/.config/screen/screenrc index 8d72bfc..e79b448 100644 --- a/.config/screen/screenrc +++ b/.config/screen/screenrc @@ -1,7 +1,7 @@ # this config requires Screen v5 (-git master branch release) truecolor on hardstatus off # puts notifications at the bottom -hardstatus firstline '%{#999999}[ GNU screen ]%{#ffffff} %< %{7}%?%-Lw%?%{1;0}%{#009dff}(== %{#ffffff}%n %h%?(%u)%?%{1;0}%{#009dff} ==)%{7}%?%+Lw%?%?' +hardstatus alwaysfirstline '%{#999999}[ GNU screen ]%{#ffffff} %< %{7}%?%-Lw%?%{1;0}%{#009dff}(== %{#ffffff}%n %h%?(%u)%?%{1;0}%{#009dff} ==)%{7}%?%+Lw%?%?' altscreen on bind 0 select 10 bind c screen 1 diff --git a/.config/screen/screenrc-if-tty b/.config/screen/screenrc-if-tty index 7ebbf4d..368f2be 100644 --- a/.config/screen/screenrc-if-tty +++ b/.config/screen/screenrc-if-tty @@ -3,7 +3,7 @@ truecolor on backtick 0 5 5 "/usr/bin/date" '+%m/%d (%a)' backtick 1 5 5 "/usr/bin/date" '+%H%M' hardstatus off # puts notifications at the bottom -hardstatus firstline '%{#999999}[ GNU screen ]%{#ffffff} %< %{7}%?%-Lw%?%{1;0}%{#009dff}(== %{#ffffff}%n%f%t%?(%u)%?%{1;0}%{#009dff} ==)%{7}%?%+Lw%?%? %= %{#999999}[ %{#999999}%0` %1` ]' +hardstatus alwaysfirstline '%{#999999}[ GNU screen ]%{#ffffff} %< %{7}%?%-Lw%?%{1;0}%{#009dff}(== %{#ffffff}%n%f%t%?(%u)%?%{1;0}%{#009dff} ==)%{7}%?%+Lw%?%? %= %{#999999}[ %{#999999}%0` %1` ]' altscreen on bind 0 select 10 bind c screen 1 -- cgit v1.2.3