I just made the switch to wayland but when I opened emacs using the daemon and 'emacsclient -c' rather than the font that I set (Monaspace Krypton) in the config.el it automatically goes to some generic font which I am pretty sure is either hack or source code pro even though that isn't anywhere in the config file or the gtk theme settings.
I have tried using after-init-hook aswell as set-frame-font rather than set-face-attributes. I have also tried to install emacs-wayland but that changed nothing. This problem is only on wayland and only on emacsclient if i launch emacs on its own it sets the proper font.
This is my original config. https://github.com/Zeitgeist117/Dots/blob/main/.config/emacs/config.org#fonts
Somebody suggested this code but it did not work. https://codeberg.org/haditim/dotemacs/src/commit/fab3f7d772eaedab1c1d5a22e81411efb65e40f2/modules/my-looks.el#L210
How would I be able to fix this?