.files/config.yaml

212 lines
7 KiB
YAML
Raw Normal View History

config:
backup: true
create: true
dotpath: dotfiles
2017-12-25 16:35:45 +00:00
actions:
2021-09-10 13:06:19 +00:00
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
2024-01-18 20:22:48 +00:00
[[ ! -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
2023-05-03 19:05:30 +00:00
[[ ! -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
2021-09-10 13:06:19 +00:00
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
2017-12-25 16:35:45 +00:00
dotfiles:
d_bspwm:
dst: ~/.config/bspwm
src: config/bspwm
d_colors:
dst: ~/.vim/colors
src: vim/colors
2017-12-25 16:35:45 +00:00
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
2017-12-25 16:35:45 +00:00
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
2020-08-12 11:43:34 +00:00
f_powerlevel10krc:
actions:
- powerlevel10k-theme
dst: ~/.p10k.zsh
src: p10k.zsh
2017-12-25 16:35:45 +00:00
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
2017-12-25 16:35:45 +00:00
f_vimrc:
dst: ~/.vimrc
src: vimrc
f_xinitrc:
dst: ~/.xinitrc
src: xinitrc
f_xresources:
dst: ~/.Xresources
src: Xresources
2017-12-25 16:35:45 +00:00
f_xsession:
dst: ~/.xsession
src: xsession
2019-12-27 16:09:46 +00:00
f_zprofile:
dst: ~/.zprofile
src: z_profile
f_zshenv:
dst: ~/.zshenv
src: zshenv
2017-12-25 16:35:45 +00:00
f_zshrc:
actions:
- oh-my-zsh
2017-12-25 16:35:45 +00:00
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
2023-07-24 10:07:41 +00:00
f_wsladdhypervroute:
dst: ~/.local/bin/wsladdhypervroute
src: local/bin/wsladdhypervroute
2023-07-24 10:07:41 +00:00
f_wslenablehypervforwarding:
dst: ~/.local/bin/wslenablehypervforwarding
src: local/bin/wslenablehypervforwarding
2023-07-24 10:13:29 +00:00
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
2024-07-23 07:21:29 +00:00
f_agenix_helper:
dst: ~/.local/bin/agenix-helper
src: local/bin/agenix-helper
f_config:
src: ssh/config
dst: ~/.ssh/config
chmod: '600'
2017-12-25 16:35:45 +00:00
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
2021-09-29 19:15:05 +00:00
- f_zprofile
- f_zshenv
2017-12-25 16:35:45 +00:00
- f_zshrc
meta_linux:
variables:
linux: true
2022-08-31 22:40:05 +00:00
dotfiles:
- d_fonts
- f_profile
meta_vw:
variables:
vw: true
dotfiles:
- f_pu
- f_rpki
meta_wsl:
variables:
wsl: true
dotfiles:
2023-07-24 10:07:41 +00:00
- f_wsladdhypervroute
- f_wslenablehypervforwarding
2023-07-24 10:13:29 +00:00
- f_wslshowhypervforwarding
os_macos:
variables:
distro: macos
include:
- meta_base
2021-09-10 13:06:19 +00:00
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