From 5545cbf2ef5d453a9aef646de482548c4de462cb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 15 Mar 2026 19:40:00 +0100 Subject: [PATCH] Add migration for COPY mode indicator --- migrations/1773599943.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 migrations/1773599943.sh diff --git a/migrations/1773599943.sh b/migrations/1773599943.sh new file mode 100644 index 00000000..cd060bd6 --- /dev/null +++ b/migrations/1773599943.sh @@ -0,0 +1,8 @@ +echo "Add COPY mode indicator to tmux status bar" + +if [[ -f ~/.config/tmux/tmux.conf ]]; then + if ! grep -q "pane_in_mode" ~/.config/tmux/tmux.conf; then + sed -i 's/#{?client_prefix/#{?pane_in_mode,COPY ,}#{?client_prefix/' ~/.config/tmux/tmux.conf + omarchy-restart-tmux + fi +fi