aboutsummaryrefslogtreecommitdiff
path: root/etc/tmux/tmux.conf
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2026-06-11 06:27:42 -0300
committerEuAndreh <eu@euandre.org>2026-06-11 06:27:42 -0300
commit7ee18d818a13d93ff9711e1d9ea554f572fa1eb1 (patch)
tree9e469f322ef6c3a3499c4067385a492dbc056be4 /etc/tmux/tmux.conf
parentetc/sh/rc: Remove commented POSIXLY_CORRECT (diff)
downloaddotfiles-7ee18d818a13d93ff9711e1d9ea554f572fa1eb1.tar.gz
dotfiles-7ee18d818a13d93ff9711e1d9ea554f572fa1eb1.tar.xz
etc/tmux/: Try to make the background save less wasteful
Diffstat (limited to 'etc/tmux/tmux.conf')
-rw-r--r--etc/tmux/tmux.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/tmux/tmux.conf b/etc/tmux/tmux.conf
index 53fee2b3..562edc0a 100644
--- a/etc/tmux/tmux.conf
+++ b/etc/tmux/tmux.conf
@@ -98,3 +98,9 @@ set -g @resurrect-capture-pane-contents 'on'
set -g @resurrect-processes '~make ~ssh ~e "~alot->alot" "~ranger->ranger" "~newsboat->newsboat" "~entr->entr" "~git->git" "~info->info"'
run-shell ~/.guix-home/profile/share/tmux-plugins/resurrect/resurrect.tmux
run-shell ~/.guix-home/profile/share/tmux-plugins/continuum/continuum.tmux
+
+# Throttle continuum's status-right hook to avoid per-client per-tick fork
+# storms (the upstream save script forks bash + several `tmux show-option`
+# subprocesses every invocation). The wrapper short-circuits in pure bash.
+set -g status-interval 60
+set -g status-right "#(~/.usr/etc/tmux/continuum-throttle.sh)"