Add Omarchy integration: theme catalog hot-reload + OSC52 clipboard
Intrepid now installs Omarchy's full colorscheme catalog and hot-reloads by reading the theme spec omarchy-theme-set writes to ~/.local/state/omarchy/current/theme/neovim.lua, watched via vim.uv (no lazy.nvim here, so this replicates its file-watch + reload behavior directly). Other hosts are unaffected. Also ports Omarchy's OSC52 remote-clipboard module so yanks still reach the local Wayland clipboard/tmux/SSH client, matching the default Omarchy nvim config's behavior in those sessions.
This commit is contained in:
@@ -1,7 +1,32 @@
|
||||
local vim = vim
|
||||
local host = vim.loop.os_gethostname()
|
||||
|
||||
vim.pack.add({
|
||||
-- Omarchy's full colorscheme catalog (mirrors omarchy-nvim's all-themes.lua),
|
||||
-- only installed on hosts that hot-reload through lua/omarchy_theme.lua.
|
||||
local omarchy_theme_plugins = {
|
||||
{ src = "https://github.com/ribru17/bamboo.nvim" },
|
||||
{ src = "https://github.com/bjarneo/aether.nvim", version = "v3", name = "aether" },
|
||||
{ src = "https://github.com/bjarneo/ethereal.nvim" },
|
||||
{ src = "https://github.com/bjarneo/hackerman.nvim" },
|
||||
{ src = "https://github.com/bjarneo/vantablack.nvim" },
|
||||
{ src = "https://github.com/bjarneo/white.nvim" },
|
||||
{ src = "https://github.com/catppuccin/nvim", name = "catppuccin" },
|
||||
{ src = "https://github.com/neanias/everforest-nvim" },
|
||||
{ src = "https://github.com/kepano/flexoki-neovim" },
|
||||
{ src = "https://github.com/ellisonleao/gruvbox.nvim" },
|
||||
{ src = "https://github.com/rebelot/kanagawa.nvim" },
|
||||
{ src = "https://github.com/tahayvr/matteblack.nvim" },
|
||||
{ src = "https://github.com/gthelding/monokai-pro.nvim" },
|
||||
{ src = "https://github.com/EdenEast/nightfox.nvim" },
|
||||
{ src = "https://github.com/rose-pine/neovim", name = "rose-pine" },
|
||||
{ src = "https://github.com/ficcdaf/ashen.nvim" },
|
||||
{ src = "https://github.com/folke/tokyonight.nvim" },
|
||||
{ src = "https://github.com/OldJobobo/miasma.nvim" },
|
||||
{ src = "https://github.com/OldJobobo/retro-82.nvim" },
|
||||
{ src = "https://github.com/omacom-io/lumon.nvim" },
|
||||
}
|
||||
|
||||
local plugin_specs = {
|
||||
-- { src = "https://github.com/folke/tokyonight.nvim" },
|
||||
{ src = "https://github.com/scottmckendry/cyberdream.nvim" },
|
||||
{ src = "https://github.com/nvim-tree/nvim-web-devicons" },
|
||||
@@ -71,7 +96,15 @@ vim.pack.add({
|
||||
{ src = "https://github.com/amitds1997/remote-nvim.nvim" },
|
||||
{ src = "https://github.com/epwalsh/obsidian.nvim" },
|
||||
{ src = "https://github.com/monkeyxite/nvim-mail", version = "03b9d7d1eea8e6a06cd7f3e477e17f164d267ea5" },
|
||||
})
|
||||
}
|
||||
|
||||
if host == "Intrepid" then
|
||||
for _, spec in ipairs(omarchy_theme_plugins) do
|
||||
table.insert(plugin_specs, spec)
|
||||
end
|
||||
end
|
||||
|
||||
vim.pack.add(plugin_specs)
|
||||
|
||||
require('mini.icons').setup({})
|
||||
require('mini.pick').setup({})
|
||||
|
||||
Reference in New Issue
Block a user