Commit Graph
33 Commits
Author SHA1 Message Date
David Heinemeier HanssonandClaude Fable 5 45ca871e78 Slim omarchy-nvim by shallowing plugin repos and dropping test suites
Half the package was git history: lazy.nvim clones with
--filter=blob:none, which marks packs as promisor packs that gc refuses
to touch, so every plugin shipped its full commit graph. Cut each repo
to its checked-out tips (drop remote/tag refs, mark the tips as shallow
boundaries, strip the promisor markers, gc for real) and exclude
test/tests/spec via sparse-checkout so the restore pass in package()
does not resurrect them.

:Lazy update keeps working -- fetch into a shallow repo stays shallow
and re-fetches tags. 116 -> 52.5 MiB installed, 67 -> 32 MB download.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-01 19:59:44 -07:00
David Heinemeier HanssonandClaude Opus 5 655b78764d Ship the omarchy-nvim plugin cache once
package() staged the LazyVim data tree twice: once at
/usr/share/omarchy-nvim/data and again at /etc/skel/.local/share/nvim. Only
the /etc/skel copy is ever read — new users are seeded from it, and
omarchy-nvim-setup prefers it — so the /usr/share copy was dead weight worth
close to half the package, which today is 243 MB installed and 178 MB read off
the ISO on every install. That made omarchy-nvim the largest package in an
Omarchy install after noto-fonts-cjk.

Drop it once /etc/skel has its copy, after the chmod and worktree restore that
copy inherits. config/ stays: both the Omarchy 4 remote-clipboard migration and
the 3.x disable-news-alert migration read it from there.

omarchy-nvim-setup's package-dir fallback narrows to config/ to match. It could
never have fired for data anyway — the setup script and /etc/skel ship in the
same package, so a new script can't pair with an old layout — and the remaining
way to lose the seed, hand-clearing /etc/skel, now says which directory is
missing and that pacman owns it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-27 15:21:33 -07:00
David Heinemeier Hansson d69da9ea22 Disable Neovim autoformat 2026-07-23 16:45:10 -07:00
David Heinemeier HanssonandClaude Fable 5 2eb15bc726 Pick the Neovim theme symlink target based on the installed Omarchy version
omarchy-nvim-setup hardcoded theme.lua to the Omarchy 4 theme location
(~/.local/state/omarchy/current), which doesn't exist on Omarchy 3.x, so
fresh 3.8.3 installs errored on nvim startup with "Failed to load
plugins.theme" (basecamp/omarchy#6309). Detect the right location at
runtime: prefer whichever current-theme directory exists, and fall back
to the installed Omarchy version for fresh 3.x installs where setup runs
before the first theme is set.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 20:52:38 -07:00
David Heinemeier HanssonandClaude Fable 5 94ee311b25 Fix theme hot-reload when old and new theme share the same colorscheme plugin
lazy.nvim caches a plugin's resolved opts in plugin._.cache and carries
that state over on a spec reload, and Loader.colorscheme() no-ops for
already-loaded plugins. So switching between two themes driven by the
same colorscheme plugin (e.g. generic themes on aether.nvim) never
pushed the new palette into setup(), leaving stale colors until nvim
was restarted. Fully reload the theme plugin instead, which clears the
cached opts and reruns config with the new theme's colors.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 20:34:27 -07:00
David Heinemeier HanssonandClaude Fable 5 b4e9935951 Simplify remote clipboard and share Neovim yanks over OSC 52 inside tmux
Sessions inside tmux used to skip the clipboard provider entirely, so
yanks only reached the machine's own Wayland clipboard and never
traveled over OSC 52 to clients attached via SSH. Now every copy also
emits OSC 52, which tmux turns into a buffer and rebroadcasts to all
attached clients. Paste prefers wl-paste when a display is available.

This also drops the private-file fallback clipboard and its regtype
sidecar: Neovim's built-in clipboard layer already restores the register
type when pasted content matches its cache, and OSC 52 queries answered
by tmux cover the display-less paste case.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 10:39:30 -07:00
Ryan Hughes 78e5cc8195 Add remote clipboard fix 2026-06-20 15:42:10 -04:00
Ryan Hughes 6808f87c6a Update nvim location 2026-06-12 00:44:30 -04:00
Ryan Hughes 80a2782063 Match nvim themes 2026-06-12 00:44:15 -04:00
Ryan Hughes c1aed0d8f1 Squash merge omarchy-4 into master 2026-06-02 22:25:07 -04:00
David Heinemeier Hansson ae15fe7b93 Don't want autoformat 2026-05-25 18:38:38 +02:00
Ryan Hughes cf82fa55ce Remove srcinfo and gitignores 2026-05-08 01:07:21 -04:00
Ryan Hughes dc0b77ddc9 omarchy 2026-05-08 01:04:51 -04:00
Ryan Hughes 45a356eb70 Create shared / fast track for certain packages 2026-01-10 20:18:35 -05:00
David Heinemeier Hansson 9a99661f13 Bump version to include the two new themes 2025-11-20 11:13:01 +01:00
David Heinemeier Hansson 310b21bbdb Add new default themes 2025-11-20 10:33:19 +01:00
Ryan Hughes 847e955597 Update nvim to be default the right way 2025-10-29 22:37:24 -04:00
David Heinemeier Hansson d6a5190663 Back to pkgrel = 1 2025-10-28 09:24:47 +01:00
David Heinemeier Hansson b2e3461330 Bump version for install fix 2025-10-28 09:12:31 +01:00
David Heinemeier Hansson 85c661bbbb Ensure that ~/.local/share/applications has been created 2025-10-28 09:11:49 +01:00
Ryan Hughes c2feda64ee Bump version 2025-10-27 22:52:22 -04:00
Ryan Hughes bb7a0f4c1f Use symlink instead of .desktop file to take priority 2025-10-27 22:52:03 -04:00
Ryan Hughes 18fb6fa3b1 Version bump 2025-10-27 13:13:31 -04:00
Ryan Hughes 1e4d83a1c3 Disable the default neovim news alert 2025-10-27 11:37:58 -04:00
Ryan Hughes 2d673b4ccf Update omarchy-nvim package 2025-10-26 23:32:14 -04:00
Ryan Hughes 727fad86c3 Update to solve issues 2025-10-24 02:00:42 -04:00
Ryan Hughes 5619818b41 Update nvim to fix parser issue 2025-10-24 01:40:49 -04:00
Ryan Hughes e6f73e3a3f Add chown to set permissions properly 2025-10-15 12:48:32 -04:00
Ryan Hughes 985a594bf4 Make confirmation fit present-terminal 2025-10-15 12:05:30 -04:00
Ryan Hughes 3d755424a2 Add stronger hotreload clearing 2025-10-14 15:45:04 -04:00
Ryan Hughes 37cf427fcf Make setup handle the symlink too 2025-10-14 13:16:11 -04:00
Ryan Hughes 1c52fad062 Minor omarchy-nvim updates 2025-10-14 12:52:39 -04:00
Ryan Hughes a867a290c6 Update to omarchy-nvim 2025-10-14 00:39:15 -04:00