diff --git a/mise.toml b/mise.toml index ac937dd..d585ba9 100644 --- a/mise.toml +++ b/mise.toml @@ -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 = [