0

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.

emacsclient in xorg

emacsclient in wayland

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?

2
  • Please provide enough code so others can better understand or reproduce the problem. Commented Apr 30 at 23:49
  • Emacs questions are on-topic here, but there is also a dedicated Emacs site in our network. Either way, please include a minimal reproducible example directly in your question. We're not going to go off-site to dig through your config on GitHub or look at somebody else's config on their blog to understand what you're asking. Commented Apr 30 at 23:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.