Since i love omarchy and i love ghostty its hard to make ghostty work due to some limitation from ghostty itself such it does not allow import theming not singal to update the config or reload it.
So i decided to make a simpe program that will work every time you change theme the program shall be added into the
~/.local/share/omarchy/bin/omarchy-theme-set
after the theme is applied.
The program going to go to the default places for ghostty config and omarchy theme. it going to scan
your ghostty config file to find theme =
if found it going to change it to what ever omarchy theme is
if not it gonna default to tokyonight_night
theme. This issue gonna be resolved so that it update
accordingly with the new theme and not to fallback.
git clone git@github.com:Cythonic1/ghostmarch.git
cd ghostmarch
Compiling is very simple just run sudo make install
to install it system wide. Or make
to just install
in the current working directory.
Unformtionaly its very hard to make this fully automated as i said ghostty does not support that. So after switching theme all you have to do it to press .
Press Ctrl+Shift+, (comma).
And the theme shall be applied.
in the header file it include the path for the config file. Also if your ghostty config is not in the default place you can easly modified it in the code and i will make that better by adding it into the header for easier and experince.
Eveybody is welcome to change and help imporve this code even better and thank you before hand.