mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
212 lines
7 KiB
YAML
212 lines
7 KiB
YAML
config:
|
|
backup: true
|
|
create: true
|
|
dotpath: dotfiles
|
|
actions:
|
|
oh-my-zsh: |
|
|
[[ ! -d ${{HOME}}/.oh-my-zsh ]] && sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" "" --unattended || echo "do nothing" >/dev/null
|
|
[[ -f ${{HOME}}/.zshrc.pre-oh-my-zsh ]] && rm ${{HOME}}/.zshrc && mv ${{HOME}}/.zshrc.pre-oh-my-zsh ${{HOME}}/.zshrc || echo "do nothing" >/dev/null
|
|
[[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins ]] && mkdir -p ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins || echo "do nothing" >/dev/null
|
|
[[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/custom-completions ]] && mkdir -p ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/custom-completions || echo "do nothing" >/dev/null
|
|
[[ ! -f ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/custom-completions/_dotdrop-completion.zsh ]] && curl -o ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/custom-completions/_dotdrop-completion.zsh https://raw.githubusercontent.com/deadc0de6/dotdrop/master/completion/_dotdrop-completion.zsh || echo "do nothing" >/dev/null
|
|
[[ ! -f ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/custom-completions/_diskutil.zsh ]] && curl -o ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/custom-completions/_diskutil.zsh https://github.com/zchee/zsh-completions/blob/main/src/macOS/_diskutil || echo "do nothing" >/dev/null
|
|
[[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/zsh-completions ]] && git clone https://github.com/zsh-users/zsh-completions.git ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/zsh-completions || echo "do nothing" >/dev/null
|
|
[[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/fzf-tab-completion ]] && git clone https://github.com/lincheney/fzf-tab-completion.git ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/fzf-tab-completion || echo "do nothing" >/dev/null
|
|
[[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/zsh-ssh ]] && git clone https://github.com/sunlei/zsh-ssh ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/zsh-ssh || echo "do nothing" >/dev/null
|
|
[[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/nix-zsh-completions ]] && git clone https://github.com/nix-community/nix-zsh-completions.git ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/nix-zsh-completions || echo "do nothing" >/dev/null
|
|
powerlevel9k-theme: |
|
|
[[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes ]] && mkdir -p ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes || echo "do nothing" >/dev/null
|
|
[[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes/powerlevel9k ]] && git clone https://github.com/bhilburn/powerlevel9k.git ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes/powerlevel9k || echo "do nothing" >/dev/null
|
|
powerlevel10k-theme: |
|
|
[[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes ]] && mkdir -p ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes || echo "do nothing" >/dev/null
|
|
[[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes/powerlevel10k ]] && git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes/powerlevel10k || echo "do nothing" >/dev/null
|
|
dotfiles:
|
|
d_bspwm:
|
|
dst: ~/.config/bspwm
|
|
src: config/bspwm
|
|
d_colors:
|
|
dst: ~/.vim/colors
|
|
src: vim/colors
|
|
d_fonts:
|
|
dst: ~/.local/share/fonts
|
|
src: local/share/fonts
|
|
d_polybar:
|
|
dst: ~/.config/polybar
|
|
src: config/polybar
|
|
d_sxhkd:
|
|
dst: ~/.config/sxhkd
|
|
src: config/sxhkd
|
|
f_c3check:
|
|
dst: ~/.local/bin/c3check
|
|
src: local/bin/c3check
|
|
f_c3cp:
|
|
dst: ~/.local/bin/c3cp
|
|
src: local/bin/c3cp
|
|
f_c3kdenlive:
|
|
dst: ~/.local/bin/c3kdenlive
|
|
src: local/bin/c3kdenlive
|
|
f_c3l:
|
|
dst: ~/.local/bin/c3l
|
|
src: local/bin/c3l
|
|
f_c3mpv:
|
|
dst: ~/.local/bin/c3mpv
|
|
src: local/bin/c3mpv
|
|
f_compton.conf:
|
|
dst: ~/.config/compton/compton.conf
|
|
src: config/compton/compton.conf
|
|
f_fehbg:
|
|
dst: ~/.fehbg
|
|
src: fehbg
|
|
f_mount_c3voc:
|
|
dst: ~/.local/bin/mount_c3voc
|
|
src: local/bin/mount_c3voc
|
|
f_powerlevel9krc:
|
|
actions:
|
|
- powerlevel9k-theme
|
|
dst: ~/.powerlevel9krc
|
|
src: powerlevel9krc
|
|
f_powerlevel10krc:
|
|
actions:
|
|
- powerlevel10k-theme
|
|
dst: ~/.p10k.zsh
|
|
src: p10k.zsh
|
|
f_profile:
|
|
dst: ~/.profile
|
|
src: z_profile
|
|
f_rofi_config:
|
|
dst: ~/.config/rofi/config
|
|
src: config/rofi/config
|
|
f_ssh-agent.service:
|
|
dst: ~/.config/systemd/user/ssh-agent.service
|
|
src: config/systemd/user/ssh-agent.service
|
|
f_vimrc:
|
|
dst: ~/.vimrc
|
|
src: vimrc
|
|
f_xinitrc:
|
|
dst: ~/.xinitrc
|
|
src: xinitrc
|
|
f_xresources:
|
|
dst: ~/.Xresources
|
|
src: Xresources
|
|
f_xsession:
|
|
dst: ~/.xsession
|
|
src: xsession
|
|
f_zprofile:
|
|
dst: ~/.zprofile
|
|
src: z_profile
|
|
f_zshenv:
|
|
dst: ~/.zshenv
|
|
src: zshenv
|
|
f_zshrc:
|
|
actions:
|
|
- oh-my-zsh
|
|
dst: ~/.zshrc
|
|
src: zshrc
|
|
f_start_systemd_shell.sh:
|
|
src: start_systemd_shell.sh
|
|
dst: ~/start_systemd_shell.sh
|
|
f_kite:
|
|
src: local/bin/kite
|
|
dst: ~/.local/bin/kite
|
|
f_wsladdhypervroute:
|
|
dst: ~/.local/bin/wsladdhypervroute
|
|
src: local/bin/wsladdhypervroute
|
|
f_wslenablehypervforwarding:
|
|
dst: ~/.local/bin/wslenablehypervforwarding
|
|
src: local/bin/wslenablehypervforwarding
|
|
f_wslshowhypervforwarding:
|
|
dst: ~/.local/bin/wslshowhypervforwarding
|
|
src: local/bin/wslshowhypervforwarding
|
|
f_pu:
|
|
dst: ~/.local/bin/pu
|
|
src: local/bin/pu
|
|
f_rpki:
|
|
dst: ~/.local/bin/rpki
|
|
src: local/bin/rpki
|
|
f_rmquarantine:
|
|
dst: ~/.local/bin/rmquarantine
|
|
src: local/bin/rmquarantine
|
|
f_commonfunc:
|
|
dst: ~/.commonfunc
|
|
src: commonfunc
|
|
f_gpgagent:
|
|
dst: ~/.gnupg/gpg-agent.conf
|
|
src: gnupg/gpg-agent.conf
|
|
f_secretfiles:
|
|
dst: ~/.local/bin/secretfiles
|
|
src: local/bin/secretfiles
|
|
f_agenix_helper:
|
|
dst: ~/.local/bin/agenix-helper
|
|
src: local/bin/agenix-helper
|
|
f_config:
|
|
src: ssh/config
|
|
dst: ~/.ssh/config
|
|
chmod: '600'
|
|
profiles:
|
|
meta_base:
|
|
variables:
|
|
linux: false
|
|
vw: false
|
|
wsl: false
|
|
dotfiles:
|
|
- d_colors
|
|
- f_agenix_helper
|
|
- f_commonfunc
|
|
- f_config
|
|
- f_powerlevel10krc
|
|
- f_rmquarantine
|
|
- f_secretfiles
|
|
- f_vimrc
|
|
- f_zprofile
|
|
- f_zshenv
|
|
- f_zshrc
|
|
meta_linux:
|
|
variables:
|
|
linux: true
|
|
dotfiles:
|
|
- d_fonts
|
|
- f_profile
|
|
meta_vw:
|
|
variables:
|
|
vw: true
|
|
dotfiles:
|
|
- f_pu
|
|
- f_rpki
|
|
meta_wsl:
|
|
variables:
|
|
wsl: true
|
|
dotfiles:
|
|
- f_wsladdhypervroute
|
|
- f_wslenablehypervforwarding
|
|
- f_wslshowhypervforwarding
|
|
os_macos:
|
|
variables:
|
|
distro: macos
|
|
include:
|
|
- meta_base
|
|
dotfiles:
|
|
- f_rmquarantine
|
|
os_ubuntu:
|
|
variables:
|
|
distro: ubuntu
|
|
include:
|
|
- meta_base
|
|
- meta_linux
|
|
sbx0nucmac01.home.pphg.tech:
|
|
include:
|
|
- os_macos
|
|
susanoo.local:
|
|
include:
|
|
- os_macos
|
|
workspace:
|
|
include:
|
|
- os_ubuntu
|
|
WVDEWOBMC001307:
|
|
include:
|
|
- os_macos
|
|
- meta_vw
|
|
WVDEWOBMC002277:
|
|
include:
|
|
- os_macos
|
|
- meta_vw
|