Repository navigation
Conversation
|
Ghostty tip (will be 1.2) supports programmatic config reloading via SIGUSR2 and systemd integrations and we’ll probably also add a dbus API before release. The signal works now for tip builds. |
|
Happy to take this as we prepare for Ghostty being the terminal, but yes, let's target the SIGUSR2 way of triggering the config reload right away. We could also consider having a omarchy-setup-terminal script that allows you to toggle between Alacritty and Ghostty for the moment. It's just that we need to use the ghostty-git dependency, which clocks in at about 1GB and a million dependencies, so should probably do something like "Ghostty (beta)" for the selector. |
|
We also need to add the ghostty config to all the extra themes: https://manuals.omamix.org/2/the-omarchy-manual/90/extra-themes |
|
@dhh - this is updated to use SIGUSR2 for reload. Do we want to wait for Ghostty to support this on main before merging? re: the other themes, I can create issues in the separate theme repos indicating the expected |
9b270b5 to
711f9d9
Compare
|
When do you think this is going to be a thing? |
September |
|
I tested all the theme names with Ghostty 1.2. So think they're correct on dev. |
|
Got it - I think this PR isn't needed then, I didn't realize we had pulled all the theme work in that 3.0 update already |
Upstream omarchy-settings package() deletes /etc/mkinitcpio.conf.d wholesale on aarch64, reasoning that omarchy_hooks.conf is the x86 file that would inject the Limine hooks into an Asahi initramfs. That holds for upstream's copy of the file. It does not hold for ours: this fork rewrote the same path to insert the asahi hook, which stages the Apple Silicon display, Wi-Fi and neural-engine firmware into early boot, and to drop btrfs-overlayfs when limine-snapper-sync is absent. Nothing put it back, so a package built through that PKGBUILD ships without the hook. It does not fail at install; it fails at the next mkinitcpio run, when the initramfs is regenerated without asahi and the machine wedges in early boot with no keyboard. This has not shipped because the published packages were built as arch any, where the CARCH == aarch64 branch never ran. Building them properly as aarch64 turns it on. Narrow the deletion to the Limine entry-tool config, the part that really is x86 only, rather than forking the PKGBUILD. Refuse to build if upstream restructures that line, since silently not matching would ship exactly the package this prevents.
Even though Alacritty is the default Omarchy theme, it may be helpful to support other terminals.
This adds a
ghostty-configfile to each theme preset that matches which theme ghostty should use.Most of these config themes are 1-1 with the presets, with the exception of
Matte Blackwhich uses a custom palette definition.User would need to set up their local ghostty config to do something like
to conditionally apply the config from omarchy.
reloading config
at this time ghostty doesnt support programmatic reloading - so we use hyprland to iterate through any open windows and send the keyboard shortcut for reloading (CTRL SHIFT,)update Using the Ghostty tip, we can use
pkill -SIGUSR2 ghosttyto reload config