diff options
| author | kj-sh604 | 2024-07-14 18:42:31 -0400 |
|---|---|---|
| committer | kj-sh604 | 2024-07-14 18:42:31 -0400 |
| commit | 439470356ef46a6a0dffd77dcb62ab96470943ba (patch) | |
| tree | 9932d2b2873aa5f1c4b99ab09dd6f02754ca1bec /.config | |
| parent | 1df8692abf04f0ca3ed62445e6110dce82022f4d (diff) | |
feat: add different config for `screen` when no display server is running
Diffstat (limited to '.config')
| -rw-r--r-- | .config/screen/screenrc-if-tty | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/screen/screenrc-if-tty b/.config/screen/screenrc-if-tty new file mode 100644 index 0000000..d9a1d52 --- /dev/null +++ b/.config/screen/screenrc-if-tty @@ -0,0 +1,15 @@ +# 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 %h%?(%u)%?%{1;0}%{#009dff} ==)%{7}%?%+Lw%?%? %= %{#999999}[ %{#999999}%0` %1` ]' +altscreen on +defscrollback 5000 +escape ^@a +maptimeout 0 +mousetrack on +shell /usr/bin/fish +shelltitle "$ |fish" +startup_message off |
