diff options
author | Mike Crute <mike@crute.us> | 2018-11-21 16:24:34 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2018-11-21 16:42:04 +0000 |
commit | b9fe86a77785d4f0b7d0f5f4207bee99d324281c (patch) | |
tree | 3fe85b725d1558205ef78469bcb19755d9288e8c /.tmux.conf | |
parent | 582e269f382ed4daafb7fc2d884b905ccf4c9276 (diff) | |
download | dotfiles-b9fe86a77785d4f0b7d0f5f4207bee99d324281c.tar.bz2 dotfiles-b9fe86a77785d4f0b7d0f5f4207bee99d324281c.tar.xz dotfiles-b9fe86a77785d4f0b7d0f5f4207bee99d324281c.zip |
Remove tmux/screen async hack
The tmux_cache.sh script was previously screen_cache.sh which was a
background process that managed the status-line for screen. This existed
because screen runs all status-line commands synchronously with its
rendering loop and any delay in those commands blocks rendering. tmux
instead runs these as background jobs (it forks for them) and renders
the status line asynchronously so there's no need for this hack anymore
and the config can just be folded into the status line itself. This is
slightly less flexible than before but contains fewer moving parts.
Diffstat (limited to '.tmux.conf')
-rw-r--r-- | .tmux.conf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,5 +33,5 @@ bind \ set -g status-bg colour255 | |||
33 | 33 | ||
34 | set -g status-left-length 100 | 34 | set -g status-left-length 100 |
35 | set -g status-right-length 100 | 35 | set -g status-right-length 100 |
36 | set -g status-left "#(~/bin/get_tmux_cache.sh left)" | 36 | set -g status-left "#[fg=green][#[fg=cyan]#{host_short}#[fg=green]]" |
37 | set -g status-right "#(~/bin/get_tmux_cache.sh right)" | 37 | set -g status-right "#[fg=green][#[fg=white]#(~/bin/irssi_unread_count.sh)#[fg=green]][#[fg=magenta]#(uptime | sed 's/.*load averages*: //g')#[fg=green]][#[fg=cyan]%d %b %H:%M#[fg=green]]" |