aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkj-sh6042024-07-16 02:25:29 -0400
committerkj-sh6042024-07-16 02:25:29 -0400
commitefc27bba08d8fb797c07586c2b7a3dde458bffe9 (patch)
tree37cea38fff7b02bb49688219cb4a5a074681283d
parent7f4e99991a35de74068af5f753eff41c0d215861 (diff)
refactor: `screen` config best practice
-rw-r--r--.config/screen/screenrc2
-rw-r--r--.config/screen/screenrc-if-tty5
2 files changed, 3 insertions, 4 deletions
diff --git a/.config/screen/screenrc b/.config/screen/screenrc
index 1ed96ff..8d72bfc 100644
--- a/.config/screen/screenrc
+++ b/.config/screen/screenrc
@@ -1,6 +1,6 @@
# this config requires Screen v5 (-git master branch release)
truecolor on
-hardstatus off
+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%?%?'
altscreen on
bind 0 select 10
diff --git a/.config/screen/screenrc-if-tty b/.config/screen/screenrc-if-tty
index 72b718d..7ebbf4d 100644
--- a/.config/screen/screenrc-if-tty
+++ b/.config/screen/screenrc-if-tty
@@ -1,10 +1,9 @@
# this config requires Screen v5 (-git master branch release)
truecolor on
-hardstatus off
backtick 0 5 5 "/usr/bin/date" '+%m/%d (%a)'
backtick 1 5 5 "/usr/bin/date" '+%H%M'
-hardstatus firstline
-hardstatus string '%{#999999}[ GNU screen ]%{#ffffff} %< %{7}%?%-Lw%?%{1;0}%{#009dff}(== %{#ffffff}%n%f%t%?(%u)%?%{1;0}%{#009dff} ==)%{7}%?%+Lw%?%? %= %{#999999}[ %{#999999}%0` %1` ]'
+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` ]'
altscreen on
bind 0 select 10
bind c screen 1