Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The terminal font of Konsole displays emoji font #127

Closed
1 task done
cubercsl opened this issue May 16, 2023 · 1 comment
Closed
1 task done

The terminal font of Konsole displays emoji font #127

cubercsl opened this issue May 16, 2023 · 1 comment

Comments

@cubercsl
Copy link

Describe the bug

The terminal font of Konsole displays multiple fonts, and the emoji font is displayed first.

  • Does this issue still occur in the master branch? (Required)

Expected behavior

The terminal font of konsole should not display the emoji font or should not be displayed in front.

Screenshots

image

Config file

conf.txt

Verbose log

neofetch.log

Additional context

  • My konsole profile
[Appearance]
ColorScheme=Dracula
EmojiFont=Noto Color Emoji,12,-1,5,50,0,0,0,0,0
Font=Monospace,10,-1,5,50,0,0,0,0,0
WordMode=true
WordModeAscii=false

[General]
Command=/bin/zsh
LocalTabTitleFormat=%w
Name=Dracula
Parent=FALLBACK/
RemoteTabTitleFormat=%w
  • Suggest change
diff --git a/neofetch b/neofetch
index e7e8881f..5b353607 100755
--- a/neofetch
+++ b/neofetch
@@ -4404,7 +4404,7 @@ END
             profile_filename="${profile_filename/$'\n'*}"
 
             [[ $profile_filename ]] && \
-                term_font="$(awk -F '=|,' '/Font=/ {print $2,$3}' "$profile_filename")"
+                term_font="$(awk -F '=|,' '/^Font=/ {print $2,$3}' "$profile_filename")"
         ;;
 
         "lxterminal"*)
@hykilpikonna
Copy link
Owner

Thank you for reporting the issue and suggesting the change!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants