chore(dotfiles): add nvim config mapping and theme bootstrap hook
Adds DOTFILES_DIR env, maps ~/.config/nvim and theme plugin symlink, and adds pre-packages bootstrap hook to sync theme directory. Ensures nvim theme files are available on bootstrap.
This commit is contained in:
@@ -4,14 +4,14 @@ USER_EMAIL = "steve@beaulac.me"
|
||||
DOTFILES_DIR = "{{config_root}}"
|
||||
THEME_DIR = "~/.config/omarchy/current/theme"
|
||||
|
||||
[env]
|
||||
DOTFILES_DIR = "{{config_root}}"
|
||||
|
||||
[settings]
|
||||
dotfiles.root = "{{config_root}}"
|
||||
dotfiles.default_mode = "symlink-each"
|
||||
|
||||
[dotfiles]
|
||||
"~/.config/omarchy/current/theme" = { source = "config/omarchy/default", mode = "copy" }
|
||||
"~/.config/omarchy/current/background" = { source = "config/omarchy/default/backgrounds/omarchy.png", mode = "symlink" }
|
||||
"~/.config/omarchy/current/theme.name" = { source = "config/omarchy/theme.name", mode = "copy" }
|
||||
"~/.config/btop" = "config/btop"
|
||||
"~/.config/btop/themes/current.theme" = { source = "~/.config/omarchy/current/theme/btop.theme", mode = "symlink" }
|
||||
"~/.config/emacs" = "config/emacs"
|
||||
@@ -38,6 +38,8 @@ dotfiles.default_mode = "symlink-each"
|
||||
"~/.config/mako/config" = { source = "~/.config/omarchy/current/theme/mako.ini", mode = "symlink" }
|
||||
"~/.config/mini.nvim" = "config/mini.nvim"
|
||||
"~/.config/mise/config.toml" = { source = "config/mise/config.toml", mode = "symlink" }
|
||||
"~/.config/nvim" = "config/nvim"
|
||||
"~/.config/nvim/plugin/theme.lua" = { source = "~/.config/omarchy/current/theme/neovim-vimpack.lua", mode = "symlink" }
|
||||
"~/.config/opencode" = "config/opencode"
|
||||
"~/.agents" = { source = "config/agents", mode = "symlink-each" }
|
||||
"~/.config/opencode/agents" = { source = "config/agents/prompts", mode = "symlink" }
|
||||
@@ -142,6 +144,9 @@ run = [
|
||||
'fc-cache',
|
||||
]
|
||||
|
||||
[bootstrap.hooks.pre-packages]
|
||||
run = "test -d ~/.config/omarchy/current/theme || rsync -av config/omarchy/default/ ~/.config/omarchy/current/theme/ --mkpath"
|
||||
|
||||
[tasks.desktop]
|
||||
description = "setup gui"
|
||||
run = [
|
||||
|
||||
Reference in New Issue
Block a user