This sets up individual light and dark color scheme files for vim/neovim and alacritty, adds a script (`set-color`) for placing them, and includes two no-arg scripts for later keybinding (`day-mode` and `night-mode`). Thanks to this blog post for the idea to `cat` the YAML into place: https://shuheikagawa.com/blog/2020/02/14/switching-colorschemes-of-vim-and-alacritty/ TIL YAML is concatenative!
34 lines
886 B
YAML
34 lines
886 B
YAML
- shell:
|
|
- mkdir -p ~/.config
|
|
- mkdir -p ~/.config/direnv
|
|
- mkdir -p ~/.task
|
|
- ./bin/set-colors dark
|
|
|
|
- clean: ['~', '~/.config']
|
|
|
|
- link:
|
|
~/bin: bin/
|
|
~/.config/alacritty: alacritty/
|
|
~/.config/direnv/direnvrc: direnv/direnvrc
|
|
~/.config/flake8: etc/flake8
|
|
~/.config/git: git/
|
|
~/.config/hg: hg/
|
|
~/.config/kak: kak/
|
|
~/.config/nvim: neovim/
|
|
~/.config/rubocop: rubocop/
|
|
~/.config/task: task/
|
|
~/.config/user-dirs.dirs: etc/user-dirs.dirs
|
|
~/.config/zsh: zsh/
|
|
~/.emacs.d: emacs/
|
|
~/.gitattributes: git/gitattributes
|
|
~/.gitignore: git/gitignore
|
|
~/.my.cnf: mysql/.my.cnf
|
|
~/.psqlrc: psql/.psqlrc
|
|
~/.task/hooks: task/hooks/
|
|
~/.taskrc: task/.taskrc
|
|
~/.tmux.conf: tmux/.tmux.conf
|
|
~/.vimrc: vim/.vimrc
|
|
~/.vim: vim/
|
|
~/.zprofile: zsh/.zprofile
|
|
~/.zshenv: zsh/.zshenv
|
|
~/.zshrc: zsh/.zshrc
|