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