Play with colors--and make it worse...

This commit is contained in:
Andrew Tomaka 2021-11-07 10:27:46 -05:00
parent ee86aae463
commit 4abd1a6ffc
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
10 changed files with 120 additions and 57 deletions

View file

@ -18,14 +18,5 @@ cat $alacritty/alacritty-base.yml $alacritty/themes/$new_color.yml >> $alacritty
echo $new_color > $color_file
if [[ $TMUX ]]; then
for pane_info in $(tmux list-panes -a -F '#{pane_id}-#{pane_current_command}'); do
IFS=- read pane cmd <<< "$pane_info"
if [[ $cmd == "vim" ]]; then
echo "sending to $pane"
tmux send-keys -t $pane ":call ChangeBackground()" ENTER
fi
done
tmux source-file $HOME/.tmux/${new_color}.conf
fi

3
bin/bin/git-checkout-all Executable file
View file

@ -0,0 +1,3 @@
for branch in $(git branch --all | grep '^\s*remotes' | egrep --invert-match '(:?HEAD|master)$'); do
git branch --track "${branch##*/}" "$branch"
done