summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2018-11-21 16:24:34 +0000
committerMike Crute <mike@crute.us>2018-11-21 16:42:04 +0000
commitb9fe86a77785d4f0b7d0f5f4207bee99d324281c (patch)
tree3fe85b725d1558205ef78469bcb19755d9288e8c /.tmux.conf
parent582e269f382ed4daafb7fc2d884b905ccf4c9276 (diff)
downloaddotfiles-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.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/.tmux.conf b/.tmux.conf
index e2d4f50..6b4ac02 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -33,5 +33,5 @@ bind \ set -g status-bg colour255
33 33
34set -g status-left-length 100 34set -g status-left-length 100
35set -g status-right-length 100 35set -g status-right-length 100
36set -g status-left "#(~/bin/get_tmux_cache.sh left)" 36set -g status-left "#[fg=green][#[fg=cyan]#{host_short}#[fg=green]]"
37set -g status-right "#(~/bin/get_tmux_cache.sh right)" 37set -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]]"