Play with colors--and make it worse...
This commit is contained in:
parent
ee86aae463
commit
4abd1a6ffc
10 changed files with 120 additions and 57 deletions
|
@ -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
3
bin/bin/git-checkout-all
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue