[scripts] iterate through all nvim listen pipes
This commit is contained in:
parent
2e8cefb22a
commit
fb10eb2769
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ change_common(){
|
||||||
tmux source-file ~/.config/tmux/tmux.conf
|
tmux source-file ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
echo "vim.cmd('colorscheme ${nvim_color_scheme}')" >> ~/.config/nvim/lua/core/theme.lua
|
echo "vim.cmd('colorscheme ${nvim_color_scheme}')" >> ~/.config/nvim/lua/core/theme.lua
|
||||||
nvim --server /tmp/nvim.pipe --remote-send ":colorscheme ${nvim_color_scheme}<CR>" || true
|
for addr in $XDG_RUNTIME_DIR/nvim.*; do
|
||||||
|
nvim --server $addr --remote-send ':colorscheme ${nvim_color_scheme}<CR>' || true
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
|
|
Loading…
Add table
Reference in a new issue