dots/.dotter/global.toml

86 lines
2 KiB
TOML

[settings]
default_target_type = "automatic"
[helpers]
flatten_table = ".dotter/handlebars_helpers/flatten_table.rhai"
header = ".dotter/handlebars_helpers/header.rhai"
# CLI package
[cli]
depends = ["nvim", "zsh", "fzf", "starship"]
[cli.variables]
nerd_font = "JetBrainsMono"
[cli.files]
"config/bat" = "~/.config/bat"
"config/ghostty" = "~/.config/ghostty"
"config/kitty" = { target = "~/.config/kitty", type = "symbolic" }
"config/sesh" = "~/.config/sesh"
"config/tmux" = "~/.config/tmux"
"config/yazi" = "~/.config/yazi"
"config/zellij" = "~/.config/zellij"
[dev]
depends = ["rust"]
[dev.files]
"config/git" = "~/.config/git"
"config/lazygit" = { target = "~/.config/lazygit", type = "symbolic" }
"config/zed" = "~/.config/zed"
[zsh.files]
"config/zsh/zshrc" = "~/.zshrc"
"config/zsh/zprofile" = "~/.zprofile"
"config/zsh/aliases" = { target = "~/.config/zsh/aliases", type = "symbolic" }
"config/zsh/completions" = { target = "~/.config/zsh/completions", type = "symbolic" }
"config/zsh/functions" = "~/.config/zsh/functions"
[fzf.files]
"config/fzf" = "~/.config/fzf"
[starship.files]
"config/starship.toml" = "~/.config/starship.toml"
[nushell.files]
"config/nushell" = "~/.config/nushell"
[nvim.files]
"config/nvim" = "~/.config/nvim"
[nvim.files."config/nvim/lua/aleidk/lazy.lua"]
target = "~/.config/nvim/lua/aleidk/lazy.lua"
type = "template"
prepend = """
local enabled_plugins = {
nvim_core = {{ nvim-core }},
nvim_base = {{ nvim-base }},
nvim_ide = {{ nvim-ide }},
}
"""
# Handle package activation from Lazy instead of dotter
# This will prevent conflics in lazy-lock.json for having different plugins
[nvim.variables]
nvim-core = true
nvim-base = false
nvim-ide = false
[rust.variables]
cargo.packages = []
[mise.files]
"config/mise" = "~/.config/mise"
[wm.files]
"config/mako" = "~/.config/mako"
"config/swappy" = "~/.config/swappy"
"config/waybar" = "~/.config/waybar/"
"config/rofi" = "~/.config/rofi"
"config/wpaperd" = "~/.config/wpaperd"
[hyprland]
depends = ["wm"]
[hyprland.files]
"config/hypr" = "~/.config/hypr"