mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Add migration for COPY mode indicator
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user