this is my Ghostty config repository, which I use to manage my Ghostty configuration.
This repository should help you quickly set up a working Ghostty configuration.
cd ~/.config
git clone https://github.com/ttys3/my-ghostty-config.git ghostty
ghostty +validate-config
ref https://ghostty.org/docs/install/build
sudo dnf install gtk4-devel zig libadwaita-devel wayland-protocols-develmkdir -p ~/repo/zig/
cd ~/repo/zig/
git clone https://github.com/ghostty-org/ghostty.git
cd ghostty
zig build -p $HOME/.local -Doptimize=ReleaseFast
# workaround to fix the desktop file for non-root user installation
desktop-file-edit --set-key=Exec --set-value=$HOME/.local/bin/ghostty ~/.local/share/applications/com.mitchellh.ghostty.desktopsolution:
desktop-file-edit --set-key=Exec --set-value="env GTK_IM_MODULE=wayland ghostty" ~/.local/share/applications/com.mitchellh.ghostty.desktopAdd ~/.local/bin directory to PATH
sudo install -m 644 etc/profile.d/sh.local /etc/profile.d/Question: should we use ~/.profile instead ?